reportportal / agent-java-cucumber

Cucumber JVM version [1.0.0; 2.0.0) adapter
Apache License 2.0
26 stars 16 forks source link

How to get single launch for single run #95

Closed silwalrajan closed 6 months ago

silwalrajan commented 1 year ago

Is your feature request related to a problem? Please describe.

  1. Migrated from Cucumber 4 to 6 and integrated report portal into the project
  2. Contains 2 runner files
  3. When running the project, Could see 2 launches are getting launched on report portal, one for each runner file which is not expected

Describe the solution you'd like I require a single launch which shows result of both both launches(runner files)

Note: It is working fine in extent reports image

silwalrajan commented 1 year ago

I have used below configurations

com.epam.reportportal agent-java-cucumber6 5.1.3
    <dependency>    
        <groupId>com.epam.reportportal</groupId>    
        <artifactId>logger-java-log4j</artifactId>  
        <version>5.1.4</version>    
    </dependency>   
io.cucumber cucumber-java 6.10.4
        <dependency>
            <groupId>io.cucumber</groupId>
            <artifactId>cucumber-junit</artifactId>
            <version>6.10.4</version>
        </dependency>
        <dependency>
            <groupId>io.cucumber</groupId>
            <artifactId>cucumber-core</artifactId>
            <version>6.10.4</version>
        </dependency>
HardNorth commented 1 year ago

@silwalrajan You want it as one launch, but someone may want it as two launches. So, do you have any stronger arguments to justify such implementation? Apart the fact that we are not an Extent Reports and don't count it as the source of the truth.

HardNorth commented 6 months ago

Answered