Testify is an open-source extension for Visual Studio Code.
Testify enables you to run or debug JavaScript tests individually or entire suites with a single click through code lens. It adds code lens near any compatible test framework keywords and outputs the results to the integrated terminal.
If you need any information, try using our ever-expanding Wiki. Or, if you have any questions or need any help, join us in the Discussions.
Testify maintainers are always working to support more frameworks as best as possible. Testify currently works with these test frameworks:
You can configure Testify to work a little more to your taste using VSCode's settings. Here are all the configuration properties are available:
Property | Description | Example | Default |
---|---|---|---|
testify.additionalArgs |
Specifies arguments to be passed to the test framework command. It takes a single string with all arguments. |
"--require ts-node/register" |
"" |
testify.envVars |
Specifies environment variables to be exported before running a test. | { "NODE_ENV": "test" } |
{ "NODE_ENV": "test" } |
testify.skipFiles |
Specifies files that should be skipped during debugging. It takes an array of glob patterns. |
["<node_internals>/**/*.js"] |
[] |
testify.testRunnerPath |
Specifies a custom path for the test runner executable. | "node_modules/.bin/mocha" |
"" |
testify.autoClear |
When enabled, the output channel will be cleared before running a test | true |
true |
We use Semantic Versioning for versioning. For the versions available, see the tags on this repository. Also, this project adheres to Keep a Changelog.
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 🐛 💻 🚧 |
Felipe Santos 🚇 |
Leandro Haruki 💻 |
Also, a special thank you to Barbara Iamauchi who designed the amazing new icon for this project!
This project follows the all-contributors specification. Contributions of any kind welcome!
based on JavaScript Test Runner by Geoffrey
This project is licensed under the MIT License - see the LICENSE file for details.