Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>ERCx Solidity TestingNew to Visual Studio Code? Get it now.
ERCx Solidity Testing

ERCx Solidity Testing

RuntimeVerification

|
1,113 installs
| (9) | Free
Run the ERCx tests inside VSCode.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

VSCode for ERCx

This extension provides a way to run the ERCx tests inside VSCode. When you open a .sol file, click on the code lens above the contract name to generate the tests, then click run on the testing view.

The Extension uses the ERCx API and a full suite of tests. It usually takes around 2 minutes depending on server load.

The Extension only supports a single self-contained Solidity file as input for now.

You need to install an extension for Solidity syntax highlighting for this extension to work as it activates onLanguage:solidity.

loop

Set up the API Key

To utilize this extension, you must first set up the API key. You can obtain one from the ERCx Open API page.

After obtaining the key, proceed to set it within the VS Code settings:

{
  ...
  "ercx.apiKey": "xxxx",
  ...
}
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft