dfrencham / vscode-chutzpahrunner

VSCode extension for executing tests with Chutzpah
3 stars 0 forks source link

Chutzpah Runner for Visual Studio Code

Chutzpah Runner Icon

Execute Chutzpah tests from your context menu.

Badge for visual studio code extension version Badge for visual studio code extension version Badge for visual studio code extension version The MIT License

Build Status

Chutzpah Runner Demo

Install

  1. Open Extensions sideBar panel in Visual Studio Code and choose the menu options for View → Extensions
  2. Search for chutzpahrunner
  3. Click Install
  4. Click Reload, if required

Initial Configuration

  1. Ensure you have Chutzpah test runner installed
  2. In VS Code preferences, go to extensions then ChutzpahRunner
  3. Set exePath to the full path of your chutzpah.console.exe executable

Usage

  1. Right click a .js file in the explorer
  2. Select:
    • "Run Chutzpah" to run in headless mode; or
    • "Run Chutzpah in browser" to run in Chrome for debugging; or
    • "Run Chutzpah with coverage" to run in Chrome with code coverage

Configuration Options

Option Description
chromeProfileFolder Temporary directory for Chrome profile. By default C:/ChromeDevSession or ~/ChromeDevSession will be used
debug Print debug information in output
disableCORS Disable cross origin checks during tests
engine Browser engine. Chrome (default) / jsdom / phantom
exePath Full path of your chutzpah.console.exe executable
parallelism Number of threads to use when executing tests (default is auto)
trace log tracing information in chutzpah.log

Things to be aware of

Contributing

Pull requests are welcome. Please see contributing for instructions on how to build and test the extension.

Bugs

Report bugs or feature requests to the bug tracker

Credits