JetBrains Rider
 
Get JetBrains Rider
Get your hands on the new features ahead of the release by joining the Early Access Program for Rider 2025.1! Learn more

Testing Node.js

Last modified: 08 October 2024

With JetBrains Rider, you can test Node.js applications using numerous frameworks.

The current page describes testing with the built-in Node.js test runner or with Mocha, which is a JavaScript test framework that is especially helpful for executing asynchronous test scenarios. You can run Mocha tests from outside JetBrains Rider, examine test results arranged in a treeview, and easily navigate to the test source from there. Next to the test, in the editor, JetBrains Rider shows the status of the test with an option to quickly run or debug it.