Recently, I have been attempting to run JUnit tests on my controllers that I have wrote in my Java Web Application. The controller methods are simple and are running methods such as 'Login', 'Logout', etc.
However, when I attempted to run the JUnit tests, it constantly fails to start. But if I were to extract solely the classes to a separate Java Application, I would have no issues running the tests.
Does anybody know if there are special configuration required for Java Web Application JUnit Testing?
Thank you! :)
Aucun commentaire:
Enregistrer un commentaire