You can learn to program Java by writing JUnit Test code and following the tutorials and exercises in "Java For Testers". This book is easy to follow, with examples related to testing work.

Why 'for testers'? Because Testers, and other people on the team (managers, analysts), use java differently, and this book takes a different order and approach to learning Java.

"Java for testers" is available to buy now as an eBook and paperback.

Learn to code differently

Throughout my career I have written thousands of lines of Java code, but I have rarely had to compile the code into an application. Yet, when we learn Java, one of the first things we learn is ‘javac’ and the ‘main’ method.

Most of the code I write is wrapped up in a JUnit @Test method.

Everytime I have taught Java to testers or other people on the team, I start with a JUnit @Test method and show them how to run tests from the IDE.

Testers, and other people on the team use java differently, and I think we need a different order and approach to learning Java than the developers coding production applications.


 

Helps you learn fast:

  • Tutorial chapters walk you through step by step, explaining as we go
  • Introductory chapters to help you install the tools
  • Teaches a Test Driven Development approach to coding so you learn to code like the pros
  • Exercises encourage you to experiment and learn to use the tools effectively
  • IDE productivity tips taught as you work to make your coding fast
  • All source code provided online
  • All exercises have answers so you can compare your approach
  • Doesn't matter if you use Windows or Mac, the book and code support both
  • All the code in the book is taken directly from the supplied source code, so there are no typos in the code
  • All the code in the book works, you can see from the build history
  • All code for Java For Testers is tested on Windows, Mac and Linux (JDK 1.7, 1.8 and OpenJDK 1.7)
  • Code examples shown throughout making it easy to follow and learn as you work through the examples

What Twitter says about #JavaForTesters