https://github.com/xpinjection/code-coverage-sample
Sample project to measure code and requirements coverage with functional tests on WebDriver
https://github.com/xpinjection/code-coverage-sample
Last synced: 5 months ago
JSON representation
Sample project to measure code and requirements coverage with functional tests on WebDriver
- Host: GitHub
- URL: https://github.com/xpinjection/code-coverage-sample
- Owner: xpinjection
- Created: 2012-04-26T15:10:34.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2012-04-26T16:00:07.000Z (over 13 years ago)
- Last Synced: 2025-04-15T01:12:44.442Z (9 months ago)
- Language: Java
- Size: 250 KB
- Stars: 4
- Watchers: 2
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
code-coverage-sample
====================
Sample project to measure code and requirements coverage with functional tests on WebDriver.
Default configuration relies on some facts:
- Firefox is installed on the target machine;
- Firefox profile with name 'selenium' is created ('webdriver.firefox.profile' property in pom.xml);
- Sonar is installed on the target machine and project is created in Sonar;
- Sonar database is MySql with default settings ('sonar.jdbc.driverClassName' and 'sonar.jdbc.url' properties in pom.xml);
- Sonar database is available and Sonar is up and running;
- Ports 8080 and 8109 are available ('cargo.servlet.port' and 'cargo.tomcat.ajp.port' properties in pom.xml);
To build requirements coverage report execute 'mvn clean install' from command line. Report will be generated in 'target/site' directory.
To build code coverage report execute 'mvn clean install sonar:sonar' from command line. When build is finished you can check for report in Sonar.
Use it with pleasure!