[Example] Report skipped scenarios #28195
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
The behat UI tests will do a dry-run report of skipped scenarios after doing the real scenarios.
That will help people to be able to see skipped tests, and thus be annoyed enough by it to do something
about fixing the bugs.
The dry-run report is only done if the default set of tests are run (i.e. the @Skip tags have been skipped by default)
This PR is a demo - it marks a few tests with @Skip so the Travis log will have something to show.
It gives the example that you can put some other tag after @Skip that is like an explanation of why it is skipped. People can see that in the output, and if you are testing in future while fixing the bug you could run behat specifying just that tag to run that particular test.
Related Issue
Motivation and Context
Help people see what tests exist that need bugs fixed.
How Has This Been Tested?
We are about to see.
Types of changes
Checklist:
It will need some developer doc enhancement to explain what it does.