About UnitJS
UnitJS is an assertion library for JavaScript, running on Node.js or a web browser. It works with various test runner and unit testing frameworks, including Mocha, Jasmine, Karma, Protractor, and QUnit.
About Mocha
Mocha is a feature-rich JavaScript test framework running on Node.js and in the browser, making asynchronous testing simple and fun. Mocha tests run serially, allowing for flexible and accurate reporting, while mapping uncaught exceptions to the correct test cases.
About NodeJS
NodeJS is a JavaScript run-time built on top of Chrome's JavaScript engine. NodeJS uses an event-driven, non-blocking I/O model that makes it lightweight and efficient. A unique feature of NodeJS is its package ecosystem, npm, which is one of the largest ecosystem of open source libraries in the world.
About the SpiraTest Integration with UnitJS and Mocha
The new SpiraTest extension for UnitJS consists of a custom reporter for the Mocha test runner that automatically takes the results from each executed test suite and sends them to SpiraTest. In addition, we supply the source code to the extension, so you can easily adapt it for other runners such as Jasmine and Protractor, or change how it reports back depending on your specific needs.
How Do I Get The New Extension?
You can download the latest version of the UnitJS / Mocha custom reporter for SpiraTest from the main SpiraTest downloads page. The documentation is included on our main SpiraTest Unit Test Integration Manual.