You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The stdout_gtestlike_tests_report plugin does not have a concept of ignored tests and instead shows the same "OK" status next to them. The ignored tests are not mentioned at the summary at the end and messages printed with the TEST_IGNORE_MESSAGE are not present in this plugin's output. In the project I am working on, we use TEST_IGNORE and TEST_IGNORE_MESSAGE to mark tests for functionality that is not yet implemented and we use the gtestlike report printing because it is easier to read in our CI stage output.
Create a test with and use in it the TEST_IGNORE or TEST_IGNORE_MESSAGE macro
Run the tests - summary printout shows all test passed, including the ignored test and there is no mention of ignoring anything.
...
[----------] Global test environment tear-down.
[==========] 577 tests from 0 test cases ran.
[ PASSED ] 488 tests.
[ FAILED ] 0 tests.
you can see that 89 tests were ignored by looking at the difference between 577 tests and 488 passed but there is no other information available to see which were ignored and their ignore messages
The text was updated successfully, but these errors were encountered:
At the time we wrote this, gtest did not support ignored tests. Has this changed and they have a standard way of displaying ignored tests? If not, we can update the plugin to also display this. Otherwise, the point of the gtest plugin was to output exactly like gtest so that parsers designed for gtest would understand it.
We are using gtestlike reports because they look good. I understand now that its not a problem of ceedling but of gtest that it has no matching concept of ignored tests. I guess this issue is not an issue and can be closed
The stdout_gtestlike_tests_report plugin does not have a concept of ignored tests and instead shows the same "OK" status next to them. The ignored tests are not mentioned at the summary at the end and messages printed with the TEST_IGNORE_MESSAGE are not present in this plugin's output. In the project I am working on, we use TEST_IGNORE and TEST_IGNORE_MESSAGE to mark tests for functionality that is not yet implemented and we use the gtestlike report printing because it is easier to read in our CI stage output.
Replicate by:
you can see that 89 tests were ignored by looking at the difference between 577 tests and 488 passed but there is no other information available to see which were ignored and their ignore messages
The text was updated successfully, but these errors were encountered: