As a skilled and diligent software engineer, you know how important tests are. Research shows that the https://www.researchgate.net/figure/IBM-System-Science-Institute-Relative-Cost-of-Fixing-Defects_fig1_255965523 as code shifts left along its life cycle.
One likely reason is that making a good integration test requires much more effort than making a unit test.
Let’s take a deeper look at the execution time breakdown: Figure 4: Test execution times breakdown in Foresight
Now the Redis server is initiated only once during the tests, which significantly reduces the tests’ execution time.