6 Speeding up slow test suites

In this chapter

  • speeding up slow test suites by running faster tests first
  • using the test pyramid to identify the most effective ratio of unit to integration to system tests
  • using test coverage measurement to get to and maintain the appropriate ratio
  • getting a faster signal from slow tests by using parallel and sharded execution
  • understanding when parallel and sharded execution are viable and how to use them

In the preceding chapter, you learned how to deal with test suites that aren’t giving a good signal—but what about tests that are just plain old slow? No matter how good the signal is, if it takes too long to get it, it’ll slow down your whole development process! Let’s see what you can do with even the most ...

Get Grokking Continuous Delivery 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.