Skip to content

henryk-bender/code-coverage-sample

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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!

About

Sample project to measure code and requirements coverage with functional tests on WebDriver

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 63.8%
  • HTML 34.5%
  • CSS 1.7%