Turning Comments to Code
Write your test in small, easy steps.
less than a minute
The Change
Transform your comments unit test into a running unit test.
The Value Proposition
Writing a unit test can be hard, even though we have already defined it in comments. Writing that test incrementally, from the bottom up, provides the following advantages:
- Reduce mental overload by solving one problem at a time.
- Focus on the most valuable parts first.
- End up with a clearer, more expressive test.
Please log in
This content is only available to students. Please log in to access it.