Any application which has completed its development will proceed to the next step of verifying whether the application is actually working. This phase is very important as it is where we ensure the correctness of the product and try to find any flaws in development which may have been overlooked at the time of writing the code. This phase is technically called testing. But now the meaning, implementation, and importance have been changed a lot. We are going to explore testing, the involvement of testing in writing good code, the role of the developer in testing, and much more.
In this chapter, we are going to explore the following topics:
What is testing?
The different phases involved in testing an application
How to test JavaEE applications
The use of JUnit/Mockito//
Introduction to Arqullian testing