From the course: Software Testing Foundations: Continuous Testing and DevOps
Unlock this course with a free trial
Join today to access over 25,300 courses taught by industry experts.
How to shorten execution time - Jenkins Tutorial
From the course: Software Testing Foundations: Continuous Testing and DevOps
How to shorten execution time
- [Instructor] So let's talk about how to shorten execution time. Intuition might suggest that a longer test gives you a more thorough understanding of your system. However, long tests can introduce lots of potential failure points. As such, they aren't really quite as useful for giving us a good picture of the system's health at a glance. For example, say I have a website for ordering pizza. If I write one single long test for creating a new account, logging in, entering my address for delivery, selecting a pizza size and toppings and purchasing, then technically yes, I have a single test that covers every part of a customer's typical workflow. But if entering my address for delivery breaks due to say a location service being unreachable, how do I know if selecting a pizza size, toppings and making a purchase are still working? To get a more focused picture of your application's health, you'll want to favor more and…