/testify

Run JavaScript & TypeScript tests easily using CodeLens

Primary LanguageTypeScriptMIT LicenseMIT

Build Status

Testify

Testify

Testify is a JavaScript and Typescript test runner extension for VSCode. It adds codelens near the framework's keywords, such as

  • suite,
  • describe,
  • context,
  • it,
  • specify
  • test

enabling VSCode to run associated tests and output the results in the integrated terminal. Currently it works out of the box for Mocha and Jest test runner.

Demo

demo

Configuration

The following configuration properties are available:

Property Description Example
testify.additionalArgs CLI args to pass to test runner "--watch"
testify.envVars Environment variables to set before running a test { "NODE_ENV": "test" }
testify.skipFiles Array of glob patterns for script paths to skip ["<node_internals>/**/*.js"]
testify.testRunnerPath Path to test runner "src/node_modules/.bin/mocha"

Compatibility

This extension works currently with :

  • Mocha
  • Jest
  • AVA
  • Playwright Test

Versioning

We use Semantic Versioning for versioning. For the versions available, see the tags on this repository. Also, this project adheres to Keep a Changelog.

Contributing

Please read the CONTRIBUTING, and, specially, the CODE OF CONDUCT documents.

Thanks goes to these wonderful people (emoji key):


Felix J. Batista

💻 🤔

Willian Silva

💻

Geoffrey

💻 🤔

Johan Rouve

🐛 💻

Kreshchenko Nickolay

💻 🤔

Sascha Dais

🐛 💻 🤔

Guy

💻

Caleb Boyd

🐛 💻 🚧

Also, a special thank you to Barbara Iamauchi who designed the amazing new icon for this project!

Barbara Iamauchi
Barbara Iamauchi

This project follows the all-contributors specification. Contributions of any kind welcome!

Authors

  • Geoffrey - Initial work - Github: @g3offrey
  • Felix J. Batista - Forked project - Github: @felixjb

based on JavaScript Test Runner by Geoffrey

License

This project is licensed under the MIT License - see the LICENSE file for details.