Why Are Automated Tests Worth the Trouble?

Let's learn about why automated testing is worth it.

Imagine a factory line that has a machine putting holes in sheets of steel. These holes have to be of a specific size and shape so that they can house bolts that will hold the finished product together. The designer of such a factory line will set up the machine, test if the holes are correct, and move on. Sooner or later, something will change: the factory will use different, thicker steel; a worker will accidentally change the hole size; or, simply, more holes need to be punched, and the machine has to be upgraded. A smart designer will put quality-control checks at certain points on the line to make sure that the product follows the specification and retains its key qualities. Holes have to conform to particular requirements, but it doesn't really matter how they are created: drilled, punched, or laser-cut.

Get hands-on with 1200+ tech skills courses.