forked from kisstibor/sapi2020proj
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
20 lines (13 loc) · 1021 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
This is an example application of my blog entries that describe the integration testing of "normal" Spring MVC controllers. These blog entries are:
Integration Testing of Spring MVC Applications: Controllers
http://www.petrikainulainen.net/programming/spring-framework/integration-testing-of-spring-mvc-applications-controllers/
Integration Testing of Spring MVC Applications: Forms
http://www.petrikainulainen.net/programming/spring-framework/integration-testing-of-spring-mvc-applications-forms/
RUNNING THE APPLICATION:
- Download and install Maven 3 (http://maven.apache.org/download.html#Installation). If you have already installed Maven 3, you can skip this step.
- Go the root directory of project (The one which contains the pom.xml file)
- Run command mvn clean jetty:run
- Start your browser and go to the location: http://localhost:8080
RUNNING TESTS:
- You can run unit tests by using this command: mvn test -P dev
- You can run integration tests by using this command: mvn verify -P integration-test