Skip to content
This repository has been archived by the owner on Oct 30, 2022. It is now read-only.

meeshkan/unmock-vscode-plugin

Repository files navigation

Unmock Visual Studio Code Plugin

⚠️ This plugin is using an outdated version of Unmock. If you'd be interested in helping us update this, please check out this open issue.

Unmock Visual Studio Code plugin - synchronizing seamlessly with all your unmock needs!

Development

Quick Links:

  1. Testing
  2. Publishing
  3. Bundling
  4. CI and Tests
    Current Development Status: Pre-alpha
    Current Status and Features:
  • Syncing updates JSON mock files to unmock cloud
  • Suggestion to use unmock in javascript/typescript test files, where calls are made to 3rd party APIs.
    • Adds a beforeEach, afterEach and import statements to use unmock.
  • Roadmapped for further extensions, features and integrations.

Dev Instructions

Testing locally (installing the plugin)

  • Test the plugin by running debug mode in the plugin project.
  • Compile the plugin by running vsce package. A .vsix file will be generated. Install the .vsix file locally by either:
    1. Using the CLI: code --install-extension <vsix file>
    2. Opening the Extension Manager in vscode (normally CTRL+SHIFT+X), and choosing Install from VSIX...

Publishing

  • Run vsce login Unmock. Enter the Personal Access Token (ask Idan if you need it).
    • You only need to login once.
  • Run vsce package.
  • Run vsce publish minor if you want to increment the minor version, vsce publish major for major version, or vsce publish X.Y.Z for a specific version number.

Extension Settings

  • refreshToken: The refresh token to get when you registered for unmock. Used for various operations with the remote unmock service.
  • path: Default path to look for stored credentials (relative to the workspace or absolute path).

Known Issues

  • Only initial release at the moment.
  • Manually tested

Release Notes

0.0.0

Released: 10/04/2019.
Initial release, limited functionality.

Contributing

Thanks for wanting to contribute! We will soon have a contributing page detaling how to contribute. Meanwhile, there are plenty of features that haven't been implemented yet. Please check out our open issues. We'd really appreciate your help!

Please note that this project is governed by the Meeshkan Community Code of Conduct. By participating in this project, you agree to abide by its terms.

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •