Skip to content

testspace-samples/cpp.cpputest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Testspace


C++/CppUTest sample for demonstrating Testspace

Sample demonstrates techniques for using Testspace with C++ code and the CppUTest framework:

  • 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:cpp.cpputest
  • Refer to our Help for more information

Using Multiple Online CI Services:

Build Build Status CircleCI


Publishing Results 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 provided by the CppUTest framework

make -C $CPPUTEST_HOME/examples CPPUTEST_USE_GCOV=Y clean all_no_tests |& tee build.log ; test ${PIPESTATUS[0]} -eq 0
$CPPUTEST_HOME/examples/CppUTestExamples_tests -o junit  -v
gcovr --root ./ --filter ".*examples/ApplicationLib/.*" -x -o coverage.xml

Push Content using Testspace client

testspace build.log{lint} [Tests]cpputest_*.xml coverage.xml

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •