Session

Let's recreate the Node.js test runner from scratch

description:

In this session, we'll peel back the layers, unraveling the magic of test runners behind the scenes.

Join me as we recreate the Node.js test runner from scratch, providing insights into how Node.js utilizes asyncHooks, one of the most powerful APIs, to track async contexts and report errors.

Get ready for a hands-on exploration that will demystify the core functionalities of test runners.

Outline:

Imagine understanding the inner workings of how your tests are executed. In this session, I'll go beyond the surface and rebuild a simpler version of the Node.js test runner, unveiling the power of asyncHooks.

Together, we'll explore how asyncHooks, one of the most potent APIs in Node.js, tracks async contexts and reports errors.

Follow along as I demonstrate step-by-step the process of recreating a test runner, providing valuable insights into the mechanisms that ensure the reliability of your tests.

Takeaways:
- Understanding Test Runner Internals
- Power of asyncHooks
- Building a Test Runner from Scratch
- Error Reporting in Asynchronous Environments

Erick Wendel

Professional Educator | Google Dev Expert | Microsoft MVP | GitHub Star | Node.js core team member

São Paulo, Brazil

Actions

Please note that Sessionize is not responsible for the accuracy or validity of the data provided by speakers. If you suspect this profile to be fake or spam, please let us know.

Jump to top