Hello again! In the previous blog post I explained TDD theory in general, without close reference to Java, but in this part we start a TDD practice. Our goal is to go through all phases of TDD: from requirement analysis to refactoring of tested code. All this we will do on example with Java, JUnit and 'fake' requirements.
Welcome to an introduction in Test Driven Development (TDD) series. We will talk about Java and JUnit in a context of TDD, but these are just tools. The main aim of the article is to give you a comprehensive understanding of TDD regardless of programming language and testing framework.
A new book which I have already read is about testing. About white box testing in java. A new of the book is "Practical Unit Testing with TestNG and Mockito". An author of the book is Tomek Kaczanowski. Before I'll start a book review I want to mention that I have had previous experience in unit testing, but this book has opened for me new aspects in unit testing.