how to import a web application on a junit java project -


I wrote some test cases using a janet and mokito for a web application, while writing the exam cases Dependence on the build path was given. Another project which is a dynamic web application, I have written all test cases using jokes and old, but I know how to give that web application as a dependency of my junior project, now when I To implement it, the eclipse can be a project dependent on the path that works on it, but

thanks

Check your own web projects Run inside the suite define another source package like '/ src / test /' and put them there. Then modify your ant script:

  • Run these tests on the build or test
  • Exclude this source package at war.

Optional extracting the normal class, which are using both projects, and make a new project jar. After this, import this new jar as dependence on both projects.


Comments

Popular posts from this blog

jsp - No mapping found for HTTP request with URI with annotation config Spring MVC and Jetty -

java - Ajax call to jsp and jsp redirecting to further jsp -

c# - Roxy file manager in MVC doesn't accept session path -