carloschneider / testify

Run JavaScript & TypeScript tests easily using CodeLens

Home Page:https://marketplace.visualstudio.com/items?itemName=felixjb.testify

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

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
Felix J. Batista

πŸ’» πŸ€”
Willian Silva
Willian Silva

πŸ’»
Geoffrey
Geoffrey

πŸ’» πŸ€”
Johan Rouve
Johan Rouve

πŸ› πŸ’»
Kreshchenko Nickolay
Kreshchenko Nickolay

πŸ’» πŸ€”
Sascha Dais
Sascha Dais

πŸ› πŸ’» πŸ€”

Also, a big 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.

About

Run JavaScript & TypeScript tests easily using CodeLens

https://marketplace.visualstudio.com/items?itemName=felixjb.testify

License:MIT License


Languages

Language:TypeScript 100.0%