Open ArvindDangi007 opened 4 months ago
I've upgraded my serenity project to 4.1.9 and after execution in the report, it shows 0 Tests. <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<groupId>Marcom</groupId> <artifactId>Marcom</artifactId> <version>1.0-SNAPSHOT</version> <name>Marcom QE Test Automation</name> <properties> <serenity.version>4.1.9</serenity.version> <serenity.maven.version>4.1.9</serenity.maven.version> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <encoding>UTF-8</encoding> <tags></tags> <!--<parallel.tests>1</parallel.tests>--> <webdriver.base.url></webdriver.base.url> <rest.assured.version>4.3.2</rest.assured.version> <json.version>20210307</json.version> </properties> <dependencies> <dependency> <groupId>net.serenity-bdd</groupId> <artifactId>serenity-core</artifactId> <version>${serenity.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>net.serenity-bdd</groupId> <artifactId>serenity-junit</artifactId> <version>${serenity.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>io.github.bonigarcia</groupId> <artifactId>webdrivermanager</artifactId> <version>5.5.0</version> <scope>test</scope> </dependency> <dependency> <groupId>net.serenity-bdd</groupId> <artifactId>serenity-screenplay</artifactId> <version>${serenity.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>net.serenity-bdd</groupId> <artifactId>serenity-screenplay-webdriver</artifactId> <version>${serenity.version}</version> </dependency> <dependency> <groupId>net.serenity-bdd</groupId> <artifactId>serenity-ensure</artifactId> <version>${serenity.version}</version> </dependency> <dependency> <groupId>ch.qos.logback</groupId> <artifactId>logback-classic</artifactId> <version>1.0.13</version> </dependency> <dependency> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> <version>1.18.20</version> </dependency> <!--<dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.13.1</version> <scope>test</scope> </dependency>--> <dependency> <groupId>org.assertj</groupId> <artifactId>assertj-core</artifactId> <version>3.6.2</version> <scope>test</scope> </dependency> <!-- https://mvnrepository.com/artifact/org.jetbrains.kotlin/kotlin-stdlib --> <dependency> <groupId>org.jetbrains.kotlin</groupId> <artifactId>kotlin-stdlib</artifactId> <version>1.5.31</version> </dependency> <dependency> <groupId>net.serenity-bdd</groupId> <artifactId>serenity-core</artifactId> <version>4.1.9</version> <scope>compile</scope> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.13.2</version> <scope>compile</scope> </dependency> <dependency> <groupId>com.sikulix</groupId> <artifactId>sikulixapi</artifactId> <version>2.0.5</version> </dependency> <dependency> <groupId>io.rest-assured</groupId> <artifactId>rest-assured</artifactId> <version>${rest.assured.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.json</groupId> <artifactId>json</artifactId> <version>${json.version}</version> </dependency> <dependency> <groupId>net.serenity-bdd</groupId> <artifactId>serenity-rest-assured</artifactId> <version>${serenity.version}</version> <scope>test</scope> </dependency> <!-- https://mvnrepository.com/artifact/org.apache.poi/poi--> <dependency> <groupId>org.apache.poi</groupId> <artifactId>poi</artifactId> <version>4.0.1</version> </dependency> <!-- https://mvnrepository.com/artifact/org.apache.poi/poi-ooxml --> <dependency> <groupId>org.apache.poi</groupId> <artifactId>poi-ooxml</artifactId> <version>4.0.1</version> </dependency> <!-- https://mvnrepository.com/artifact/com.microsoft.sqlserver/mssql-jdbc --> <dependency> <groupId>com.microsoft.sqlserver</groupId> <artifactId>mssql-jdbc</artifactId> <version>6.2.2.jre8</version> </dependency> <dependency> <groupId>net.serenity-bdd</groupId> <artifactId>serenity-model</artifactId> <version>4.1.9</version> <scope>test</scope> </dependency> <!-- <dependency> <groupId>net.serenity-bdd</groupId> <artifactId>serenity-core</artifactId> <version>3.9.8</version> <scope>test</scope> </dependency>
-->
</dependencies> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>3.0.0-M5</version> <configuration> <skip>true</skip> </configuration> </plugin> <plugin> <artifactId>maven-failsafe-plugin</artifactId> <version>3.0.0-M5</version> <configuration> <includes> <include>**/*Test.java</include> <include>**/Test*.java</include> <include>**/*TestSuite.java</include> <include>**/When*.java</include> <include>**/*Tests.java</include> </includes> <systemPropertyVariables> <webdriver.base.url>${webdriver.base.url}</webdriver.base.url> </systemPropertyVariables> <!--<parallel>classes</parallel> <threadCount>${parallel.tests}</threadCount> <forkCount>${parallel.tests}</forkCount>--> </configuration> <executions> <execution> <goals> <goal>integration-test</goal> <goal>verify</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.8.1</version> <configuration> <source>11</source> <target>11</target> </configuration> </plugin> <plugin> <groupId>net.serenity-bdd.maven.plugins</groupId> <artifactId>serenity-maven-plugin</artifactId> <version>${serenity.maven.version}</version> <configuration> <tags>${tags}</tags> </configuration> <executions> <execution> <id>serenity-reports</id> <phase>post-integration-test</phase> <goals> <goal>aggregate</goal> </goals> </execution> </executions> </plugin> </plugins> </build>
It should display exact pass-fail test cases with details
4.1.9
11
No response
Upgrade your project to Serenity 4.0.1 run the project
Note: I implemented it according to the 4.0.1 release notes. and not working
Work on this myself and propose a PR (with Serenity BDD team guidance)
Could be a dependency conflict of some kind.
Hi @wakaleo , Which one i can remove or shall i share the pom file. I have attached to POM. POM.docx
What happened?
I've upgraded my serenity project to 4.1.9 and after execution in the report, it shows 0 Tests. <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-->
What did you expect to happen?
It should display exact pass-fail test cases with details
Serenity BDD version
4.1.9
JDK version
11
Execution environment
No response
How to reproduce the bug.
Upgrade your project to Serenity 4.0.1 run the project
Note: I implemented it according to the 4.0.1 release notes. and not working
How can we make it happen?
Work on this myself and propose a PR (with Serenity BDD team guidance)