This book is for people who want to learn Java. Particularly people on a team that want to learn Java, but who aren't going to be coding the main Java application i.e. Testers, Managers, Business Analysts, Front End Developers, Designers, etc.
If you already know Java then this book may not be for you.
This book is aimed at beginners. Designed to help the reader get started fast, the book is easy to follow, and has examples related to testing.
You can find the companion web site for the book at http://javafortesters.com
The book covers 'just enough' to get people writing tests and abstraction layers. For example, the book cover the basics of Inheritance, but doesn't really cover Interfaces in detail. We explain the concept of Interfaces, because we need to know it to understand Collections, but not how to write them.
Why? Because the book covers enough to get you started, and working. But not overload the reader. Once you are on your way, and have gained some experience. You should have the basic knowledge to understand the additional concepts.
Why 'for testers'?
Java Developers coding production applications in Java need to learn Java differently from other people on the team.
Throughout the author's career, he has have written thousands of lines of Java code, but has rarely had to compile the code into an application. Yet, when we learn Java from most books, one of the first things we learn is 'javac' and the 'main' method and working from the command line. And this is confusing.
Most of the code the author writes is wrapped up in a JUnit @Test method.
The author has trained many people to write automation in Java, and everytime he has taught Java to testers or other people on the team, we start with a JUnit @Test method and run tests from the IDE.
Testers, and other people on the team use java differently. This book provides a different order and approach to learning Java.
You can find the source code for all examples and exercises used in the book over on github:
Rzeczywiście można sobie odświeżyć znajomość Javy. Książka ta powinna się jednak nazywać “Java for beginners”, ponieważ z perspektywy testera nie ma tutaj absolutnie nic ciekawego. Jeśli ktoś chciałby ją kupić z zamiarem polepszenia swojego warsztatu w przypadku testów automatycznych, stanowczo odradzam.
OK, one can refresh their knowledge of Java. But this book should be called “Java for beginners” because from a tester’s perspective there is nothing interesting. That’s why if someone wants to buy it to become a better automation tester, I highly advice against it.
Fundamenty Javy przydatne w pracy testerów automatyzujących. Należy tę książkę traktować jako zbiór tematów, które trzeba sobie przyswoić i przećwiczyć. A zatem - czytamy rozdział o wyrażeniach regularnych, robimy zadania, a następnie poszerzamy swą wiedzę przy pomocy filmików na YT czy innych książek i znów wykonujemy kolejne ćwiczenia. Sama "Java for Testers" nie wystarczy, choćbyś miał/a ją wykuć na pamięć. Tematy nie uwzględniają najnowszej wersji Javy i na to też trzeba zwrócić uwagę.
"This has been a beginner’s book." With lots of exercises and references ...to other books and links (manuals, blogs, videos, etc.) That book would be awesome for the offline ecosystem to check many concepts. If online - I would search the answers and examples ...online.