Skip to content

testspace-samples/java.junit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Testspace


Java/JUnit sample for demonstrating Testspace

Sample demonstrates techniques for using Testspace with Java code and the JUnit.

  • Using a Testspace Project that is connected with this GitHub Repo
  • Using 3 Online CI services for demonstration purposes only
  • Can review the Results at testspace-samples:java.junit
  • Refer to our Help for more information

Using Multiple Online CI Services:

Build Build Status CircleCI


Publishing Test Content using www.testspace.com.

Space Health Space Metric Space Metric


Download and configure the Testspace client

mkdir -p $HOME/bin
curl -s https://testspace-client.s3.amazonaws.com/testspace-linux.tgz | tar -zxvf- -C $HOME/bin
testspace config url samples.testspace.com

Build examples:

 mvn clean compile
 mvn pmd:pmd
 mvn cobertura:cobertura -Dcobertura.report.format=xml

Push Content using Testspace client

testspace target/pmd.xml [Tests]target/surefire-reports/TEST*.xml target/site/cobertura/coverage.xml