Chapter 16. Transforming Workflow Tests into Calculation Tests
After writing several related workflow tests, we see an underlying pattern. Rather than repeatedly copying a test and making small variations, it pays to clarify the essential elements of the test.
We end up collapsing a large number of workflow tests into a few tables of calculation tests. We do this by cutting to the essential nature of the underlying business rules. As we’ll see, it’s not necessarily obvious from the start where we’ll end up.
Get Fit for Developing Software: Framework for Integrated Tests now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.