© Arnon Axelrod 2018
Arnon AxelrodComplete Guide to Test Automationhttps://doi.org/10.1007/978-1-4842-3832-5_12

12. Completing the First Test

Arnon Axelrod1 
(1)
Matan, Israel
 

OK, so now that our code compiles, what do you think will be the next thing we should do?

(Buzzer sound goes here) WRONG answer! I bet that you said, “start implementing the methods” (at least this is what 99% of the people I ask this question say). What we’re about to do now will probably sound very silly to you at first: We’re going to run the test!

But wait, we can’t! It can’t possibly work! The computer will blow up! Well, you’re right, it won’t work. But it won’t blow up the computer either (I know you didn’t really mean it…). So, what will happen? The test will fail of course, ...

Get Complete Guide to Test Automation: Techniques, Practices, and Patterns for Building and Maintaining Effective Software Projects 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.