Apart from reducing the time needed for regression testing, component tests also add value in other phases of the development life cycle: Developers can run component tests locally during development since no special licenses are required. On-boarding of new developers is faster, as less setup is required. Of all tests, component tests are the ones that reduce the risk of refactoring or non-functional changes and allow teams to reduce technical debt. And last, but not least, the component tests are likely the most up-to-date and complete documentation of service.
This talk follows a team on their journey of testing for a new service and highlights strategies for success.