I'm running my Cucumber tests using mvn clean verify. I have annotated a test scenario with the @Skip tag and then provided this tag inside @CucumberOptions(tags = "not @Skip") in order to skip that scenario.
After running the tests I get the following log: [INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0.
What am I missing in order to show that the test was skipped?
I would expect to see:
[INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 1.