From the course: Programming Foundations: Test-Driven Development

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

TDD and agile

TDD and agile - Java Tutorial

From the course: Programming Foundations: Test-Driven Development

Start my 1-month free trial

TDD and agile

- Test-driven development makes one think that it is all about testing and coding, but it is also test-driven design, because while you start with a test case, your goal is to design and develop your software in parallel. This aligns very well with the incremental upload of agile methodologies. But once you have identified your user story or use case, where do you start? Let us go back to the scenario where a team is developing the hangman game. Focus on how the team is iterating between testing, coding, designing, and understanding the requirements in a truly agile manner. - Hey. - Hey. - So I just met with the customer. We went over the basic rules of the game, and here they are. So when the word has X letters, the clue shows X dashes, and the player has 10 attempts to guess those letters. So I think it's time that we write our first failing test case to grab a word from the text file of length, let's say five. - Here I go. So I will name our first test case as…

Contents