felixjb / 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

CI/CD Visual Studio Marketplace Installs

Testify

Testify

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.

Compatibility

Testify maintainers are always working to support more frameworks as best as possible. Testify currently works with these test frameworks:

Demo

demo

Configuration

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

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

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

πŸ’»
Caleb Boyd
Caleb Boyd

πŸ› πŸ’» 🚧
Felipe Santos
Felipe Santos

πŸš‡
Leandro Haruki
Leandro Haruki

πŸ’»

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.

About

Run JavaScript & TypeScript tests easily using CodeLens

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

License:MIT License


Languages

Language:TypeScript 95.6%Language:JavaScript 3.9%Language:Shell 0.4%