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:
Publishing Results using www.testspace.com.
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