How to refactor tests towards fluent assertion pattern?
What are Clean Tests? The Clean Code rules apply equalfly to the production code and the test code. So do code cleanup every time when you write tests. As a result, you will begin to notice opportunities for refactoring right after adding a new test. Sometimes you will notice it even before writing the test.…