Junit - HaoranSun1122/SPM2020-Smart-Parking-System GitHub Wiki
Due to its simplicity JUnit should be first option when testing the java applications. JUnit can be used separately or integrated with build tools like Maven and Ant and third party extensions, such as
dbUnit cor database testing operations xmlUnit which simplifies XML testing ( comparing and evaluating ) other extensions ( see sub chapter 9.2 JUnit extensions ). JUnit is a worthy tool that every developer should know about and use heavily in the daily work.
During the process of testing the applications developers may face many problems. The flow of an application cannot be tested only using main() method. For example, for a web application if we want to test the flow we need to deploy it on the server and if there is a change in java code the application should be restarted again. Testing time will increase.