March 2023
Intermediate to advanced
280 pages
3h 52m
English
In this part, you will extend the test framework to include ergonomic features that make the concise-test runner into a viable competitor to mainstream test frameworks.
In Chapter 6, “Formatting Expectation Errors,” we write a formatter for stack traces to help pinpoint failures quickly.
In Chapter 7, “Automatically Discovering Test Files,” we’ll add test file discovery to our test runner and add support for running a single file through a command-line argument.
In Chapter 8, “Focusing on Specific Tests,” we split out the runner into two phases: a discovery phase and an execution phase. In between them, we insert a filter phase to support running only a subset of tests.
In Chapter ...
Read now
Unlock full access