Clean Tests
Learn the basics of a clean test.
We'll cover the following...
What a clean test looks like
After introducing what tests are and how to apply them to the test-driven development approach, let’s learn how to write clean tests.
The layout of a test
The arrange, act, and assert (AAA) paradigm is one of the most popular paradigms for structuring a good test.
- Arrange: Here, we set up everything to let the test run. That means we need to build, initialize,