Package Spotlight: Mocha

Package Spotlight: Mocha

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/

someone ideating on a white board with comps
Release Notes
TRYTN

July 2021 Release Notes

We’ve spent all of July trying to squash as many bugs as possible while also adding simple enhancements to make the system easier to use.

Read More »
someone ideating on a white board with comps
Release Notes
TRYTN

June 2021 Release Notes

We’ve been hard at work making the system more responsive and resilient. We’ve added another data center in the Eastern United States, updated how we

Read More »

Request a Demonstration