We introduce a realistic test to suggest more features for our test runner. The test includes a let block, two before blocks, and a nested "describe" context, none of which are supported by our test runner yet. As we explore the test, we also touch on two issues in test design: first, avoiding magic numbers; and second, ensuring that the test remains realistic.

Execute Program

Looking for something more interactive? Try Execute Program, an interactive learning platform from Destroy All Software LLC! It has courses on TypeScript, SQL, regular expressions, JavaScript concurrency, and more. All Destroy All Software subscriptions include full access to Execute Program, or you can subscribe to Execute Program directly.