Skip to content

Plugin stdout_gtestlike_tests_report does not show information about ignored tests #820

@i-adamov

Description

@i-adamov

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:

  1. Enable the plugin in project.yml file
:plugins:
  :enabled:
    - stdout_gtestlike_tests_report
  1. Create a test with and use in it the TEST_IGNORE or TEST_IGNORE_MESSAGE macro
  2. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions