citrusframework / citrusframework/citrus
Citrus html report doesn't register the skipped tests in its citrus report as "Skipped"
- Dominant language
- Java
- Stars
- 485
- Forks
- 155
- Avg merge
- 4d 22h
- Merged PRs (30d)
- 6
Description
**Citrus Version**
dependencies {
compile group: 'org.testng', name: 'testng', version: '6.14.3'
compile group: 'junit', name: 'junit', version: '4.12'
compile group: 'com.consol.citrus', name: 'citrus-core', version: '2.8.0'
compile group: 'com.consol.citrus', name: 'citrus-java-dsl', version: '2.8.0'
compile group: 'org.testng', name: 'testng', version: '6.14.3'
implementation(group: 'junit', name: 'junit', version: '4.12')
implementation 'io.reactivex.rxjava2:rxjava:2.2.20'
}
**Expected behavior**
when test1 fails test 2 is skipped by testNG , citrus reports is supposed to show the skipped count in its citrus html report
**Actual behavior**
when test1 fails test 2 is skipped by testNG , but citrus reports fails to show the skipped count in its citrus html report
**Test case sample**
`public class InitialTest extends TestNGCitrusTestRunner {`
@Parameters("context")
@Test
@CitrusTest(name = "test1")
public void test1( @Optional @CitrusResource TestContext context){
System.out.println("test1");
fail("I am failing");
}
@Parameters("context")
@Test(dependsOnMethods = "test1")
@CitrusTest(name = "test2")
public void test2( @Optional @CitrusResource TestContext context){
System.out.println("test2");
}
`}`
Contributor guide
Research direction
Reproduce the issue from the InitialTest entry point using the TestNG dependency between test1 and test2. Trace how the Citrus HTML report represents the skipped test, then verify that the report's skipped count includes test2 when test1 fails.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- testing-qa
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100