I need to be sure that all test cases are passed and don't have false positive. So I would like to add the always failing test and in JUnit Parser I would like to specify that this test cases will alway failed, otherwise I can not rely on another test cases.
Hi Mykola,
There are a couple of ways you could approach this. It depends on why the test case is failing and whether it causes your build task to fail (ie the process returns non zero exit code)
Some options:
Quarantine the test - This enables bamboo build to pass, assuming your build completes without error. This must be enabled globally in bamboo settings.
Add @Ignore annotation to your code This is useful if the test is causing the build to fail itself (ie not as a result of the bamboo test parsing, but in the actual build task)
In both cases these tests will appear under skipped / ignored tests section in bamboo test results tab.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.