Targeting end-to-end scenarios

Pick a complement of tests that exercises enough parts to define a thread of execution. This is sometimes referred to as thread testing. Not because we are using software threading, but instead, because we are focusing on a story thread. Often, our threads either come from customer scenarios or are at least inspired by them. Other threads can involve other groups of operations.

For example, a network management system may push out customer-affecting alarms, but the internal operations team that has to solve the network problems may have a totally different perspective. Both of these situations demonstrate valid end-to-end threads that are good places to invest in automated testing.

Note

If the different teams are viewed ...

Get Python Testing Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.