We implement RSpec-style "let" in our test runner. This triggers a major refactoring where we remove all of our previously-global methods: "expect", "raise_error", etc. They get moved into new Describe and It classes. Then we test-drive our "let" implementation, and finally use our motivating example test from the previous screencast to verify that it works in a realistic use case.

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.