ceedling 0.32.0 release candidate breaks test result reporting
Opened this issue · 1 comments
u6bkep commented
I am trying to use the 0.32.0 release candidate because 0.31 doesn't play nice with modern versions of ruby. I got the tests to run, but the test explorer is showing error triangles. it looks like the default location for test report has moved to build/artifacts/report.xml. setting the path in project.yml seems to fix the issue.
:xml_tests_report:
:artifact_filename: "report.xml"
:path: "build/artifacts/test/"
test output
stdout:
Collecting Definitions
------------------------
Getting Includes From Test Files
--------------------------------
Determining Requirements
Preprocessing Header Files
--------------------------
Generating Mocks
----------------
Preprocess Test Files
Determining Objects to Be Built
Generating Runners
------------------
Preparing to Build
Building Objects
----------------
Building Test Executables
-------------------------
Linking test_b2bComm.out...
Executing
---------
Running test_b2bComm.out...
--------------------
OVERALL TEST SUMMARY
--------------------
TESTED: 2
PASSED: 2
FAILED: 0
IGNORED: 0
report.xml
<?xml version='1.0' encoding='utf-8' ?>
<TestRun>
<FailedTests/>
<SuccessfulTests>
<Test id="1">
<Name>test/mware/comm/test_b2bComm.c::test_B2b_Init</Name>
</Test>
<Test id="2">
<Name>test/mware/comm/test_b2bComm.c::test_B2b_Receive</Name>
</Test>
</SuccessfulTests>
<IgnoredTests/>
<Statistics>
<Tests>2</Tests>
<Ignores>0</Ignores>
<FailuresTotal>0</FailuresTotal>
<Errors>0</Errors>
<Failures>0</Failures>
</Statistics>
</TestRun>
numaru commented
Hello, thank you for reporting before it breaks on everyone's projects. Seems like the bug is on the Ceedling side but only on the branch test/ceedling_0_32_rc
.