https://github.com/ggeorgovassilis/test-with-embedded-tomcat
Companion code for my blog post on end-to-end application testing
https://github.com/ggeorgovassilis/test-with-embedded-tomcat
integration-testing testing tomcat
Last synced: about 1 year ago
JSON representation
Companion code for my blog post on end-to-end application testing
- Host: GitHub
- URL: https://github.com/ggeorgovassilis/test-with-embedded-tomcat
- Owner: ggeorgovassilis
- Created: 2016-01-29T17:02:17.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2024-02-20T11:51:38.000Z (over 2 years ago)
- Last Synced: 2025-03-26T03:33:16.985Z (about 1 year ago)
- Topics: integration-testing, testing, tomcat
- Language: Java
- Homepage: https://blog.georgovassilis.com/2016/01/29/end-to-end-testing-java-web-applications-with-an-embedded-tomcat/
- Size: 88.9 KB
- Stars: 3
- Watchers: 3
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Integration-testing a Java web application
This is the repository for [End-to-end testing Java web applications with an embedded Tomcat](https://blog.georgovassilis.com/2016/01/29/end-to-end-testing-java-web-applications-with-an-embedded-tomcat/) and [Getting test coverage reports for integration test](https://blog.georgovassilis.com/2017/06/23/getting-test-coverage-reports-for-integration-test/)
which discusses performing end-to-end tests on
a multi-module Java web application. It runs a simple (yet not trivial) Java web application from within the
Maven integration test phase, launches a test browser and interacts with the web application.
Topics covered:
- packaging web application in a WAR module
- inheriting dependencies from the WAR module as if it were a JAR
- running integration tests in a separate module
- reporting test coverage
Get a local copy with:
```git clone https://github.com/ggeorgovassilis/test-with-embedded-tomcat.git```
and run with
```mvn install```