Java with TDD from the Beginning
-
- USD 18.99
-
- USD 18.99
Descripción editorial
Today there is no shortage of books and courses with which to learn the Java programming language. And there are also books and courses with which to learn how to do test-driven development (TDD) in Java.
But there seem to be no books or courses that teach Java with TDD from the very beginning. The common wisdom seems to be that the students must learn the fundamentals of Java programming before they can even be told about applying TDD to Java programming.
Before the students can even think about writing a test, they have to know all the Java primitive data types, how to write For loops, single-line comments, multi-line comments, etc. They also have to know the code name of the original Java prototype, and lots of other Java history "trivia."
Or do they? Clearly there are some things students must know about Java before they can understand what a JUnit test is. But maybe there are certain things that are normally considered very basic, like the characteristics of every primitive data type, that can be put off to until after the student has learned the basics of TDD.
In this book, I'm trying to figure out what is the minimum amount of information about the basics of Java syntax and the principles of object-oriented programming that students need to know before they can start learning the basics of testing Java programs with JUnit.
The principles of TDD easily carry over to other testing frameworks, like TestNG and the testing framework the author has created.