Unmock Visual Studio Code Plugin
Unmock Visual Studio Code plugin - synchronizing seamlessly with all your unmock needs!
Development
Quick Links:
- Testing
- Publishing
- Bundling
- 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
andimport
statements to use unmock.
- Adds a
- 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:- Using the CLI:
code --install-extension <vsix file>
- Opening the Extension Manager in vscode (normally CTRL+SHIFT+X), and choosing
Install from VSIX...
- Using the CLI:
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, orvsce 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.