vendredi 25 novembre 2016

Testing web module from test module

I have two modules which both use spring-mvc. One is a web application that has controllers that I need to test and another module that will be used for testing purposes. I need to be able to load the web module from the testing module in order to test my controllers. The part that I am stuck in is that when the test fires a call to the URI that a contoller is mapped to I get a 404 error. That means that web application is not running and has not mapping to that URI. Anyone knows how I can solve this?

Aucun commentaire:

Enregistrer un commentaire