Mocha is a lightweight and powerful testing framework for JavaScript code. Using a simple coding syntax allows for quick writing of unit and integration tests. Once time to run the tests are performed serially and makes for quick and easy reporting and debugging of failed tests.

At TRYTN we move fast and in order to release features and fixes as fast as possible we need to be able to automate whatever we can. Therefore we have nearly 3,000 JavaScript unit and integration tests to help ensure bugs aren’t released into production. Mocha is an integral part of our deployment pipeline and helps us release quality builds every time.

Mocha is just one package of several that integrate with each other to build out our entire code quality and testing suite which will be detailed in a later post.

Package Name: Mocha
Website: https://mochajs.org/

Package Spotlight: Mocha

Leave a Reply

Your email address will not be published. Required fields are marked *