Chapter 6. Test, Benchmark, and Analyze

Testing your application is as important as its development. Testing is the process of analyzing your application modules and the application as a whole to see whether it behaves as you expect it. It allows your business to define use cases and check whether they're all accomplished.

There are many testing techniques. One of the most famous is Test-driven Development (TDD). This technique consists of using the smallest development cycles possible. Between every cycle, tests are performed and new tests and uses cases are added before they're developed. This way, your application versions can be continuously tested and any faulty version can be quickly spotted. If you use a version control system, such as Git, ...

Get Node.js High Performance now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.