citrusframework / citrusframework/citrus

TestCaseMetaInfo.Status.DISABLED ignored

Open
#663 6 comments 0 reactions 0 assignees View on GitHub
bug prio-low to-discuss
Dominant language
Java
Stars
485
Forks
155
Avg merge
4d 22h
Merged PRs (30d)
6

Description

**Citrus Version**
2.7.4

**Expected behavior**
Testcase isn't executed as it is when we are using the CitrusXmlTest annotation

**Actual behavior**
Testcase is executed

**Test case sample**
```
public class Foo extends extends TestNGCitrusTestRunner {
@CitrusTest
@Test
public void test() {
status(TestCaseMetaInfo.Status.DISABLED);

```
> Please, share the test case (as small as possible) which shows the issue

Contributor guide

Open the contributing guide

Research direction

Start with the TestNGCitrusTestRunner example and the TestCaseMetaInfo.Status.DISABLED call shown in the report, then trace how the CitrusTest annotation and runner execute the test. Done means a test marked DISABLED is not executed, matching the reported CitrusXmlTest behavior; the payload names no test file to run.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.