https://github.com/mageddo/maven-jetty-integration-tests
Example of how to use jetty on maven to do integration tests
https://github.com/mageddo/maven-jetty-integration-tests
Last synced: about 1 year ago
JSON representation
Example of how to use jetty on maven to do integration tests
- Host: GitHub
- URL: https://github.com/mageddo/maven-jetty-integration-tests
- Owner: mageddo
- Created: 2015-07-03T04:14:37.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-07-03T13:33:34.000Z (almost 11 years ago)
- Last Synced: 2025-02-02T01:41:15.978Z (over 1 year ago)
- Language: Java
- Size: 113 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## introduction
This example is a example of integration test using `jetty` as servlet container to run with the integration test, jetty runs on `8181` port but it is configurable, the example cover:
1. A simple WEB project with a HelloWorldServlet that hava a `GET` and a `POST` method.
2. A integration test that run the project in jetty and test yours URLs responses
## to test
```
mvn clean install
```
## important!!
Make sure that you have not a `jetty-web.xml` in your `WEB-INF` folder or change the path in `com.mageddo.tests.core.Properties.java` to the `jetty.web.xml` path