Testing is a very important part of the software creation process. Without automated tests, it’s very easy for bugs to creep into software.
In fact, some go as far as to say that you should write tests before you write the code. This is called TDD
There are multiple test frameworks and tools to help you test your code. This book will cover some of these tools, JUnit and Spock.
Types of Tests
The following are different types
of tests you might write: