From the course: Practical Test-Driven Development for Java Programmers
Unlock this course with a free trial
Join today to access over 22,600 courses taught by industry experts.
Challenge 1
From the course: Practical Test-Driven Development for Java Programmers
Challenge 1
- [Instructor] So that's the first step of our three step cycle completed. We've got our test written with a red bar. Now it's time to go make that bar green by writing the code to make this test pass. I'm going to ask you to pause the video and give this a go. Remember that you want to be writing the minimum amount of code you need to make this test pass. Pause the video, give that a go. It should only actually need a single line of code, and when you've had a go at it, press play and you can compare whether you've done it in the same way as me.
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
Testing for exceptions5m 17s
-
(Locked)
Challenge 129s
-
(Locked)
Walkthrough 11m
-
(Locked)
Challenge 22m 25s
-
(Locked)
Walkthrough 2 and challenge 31m 25s
-
(Locked)
Walkthrough 31m 51s
-
(Locked)
Getting to more complex requirements4m 57s
-
(Locked)
Using TDD to safely fix bugs6m 52s
-
(Locked)
Challenge 4 and walkthrough 44m 5s
-
(Locked)
Finishing the business requirements7m 24s
-
-
-
-
-
-
-