Skip to content

Commit

Permalink
feat: Update to cucumber-jvm 5 & JUnit 5
Browse files Browse the repository at this point in the history
Externalise cucumber configuration.
  • Loading branch information
kripaliz committed Apr 14, 2023
1 parent c4911ad commit 82543af
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 13 deletions.
10 changes: 10 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[*]
indent_style = tab
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
end_of_line = lf

[{*.yml,*.yaml}]
indent_style = space
tab_width = 2
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
/.settings/
/.project
.DS_Store
.idea/
48 changes: 35 additions & 13 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,43 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.1.8.RELEASE</version>
<version>2.7.10</version>
</parent>
<groupId>com.github.kripaliz</groupId>
<artifactId>unifiedbdd-automation-parent</artifactId>
<version>0.1.5</version>
<version>0.2.0</version>
<packaging>pom</packaging>

<properties>
<allure-maven.version>2.10.0</allure-maven.version>
<java.version>1.8</java.version>
<allure-maven.version>2.12.0</allure-maven.version>
<java.version>11</java.version>
<maven-surefire-plugin.version>3.0.0-M7</maven-surefire-plugin.version>
<maven-failsafe-plugin.version>3.0.0-M7</maven-failsafe-plugin.version>
<okhttp.version>3.12.0</okhttp.version>
<selenium.version>3.141.59</selenium.version>
<threadCount>1</threadCount>
<cucumber.execution.parallel.enabled>false</cucumber.execution.parallel.enabled>
<cucumber.execution.parallel.config.strategy>FIXED</cucumber.execution.parallel.config.strategy>
<cucumber.execution.parallel.config.fixed.parallelism>4</cucumber.execution.parallel.config.fixed.parallelism>
<cucumber.filter.tags></cucumber.filter.tags>
<cucumber.glue></cucumber.glue>
<cucumber.plugin></cucumber.plugin>
</properties>

<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>25.0-jre</version>
</dependency>
</dependencies>
</dependencyManagement>

<dependencies>
<dependency>
<groupId>com.github.kripaliz</groupId>
<artifactId>unifiedbdd-automation-framework</artifactId>
<version>0.1.5</version>
<version>0.2.0</version>
</dependency>
</dependencies>

Expand All @@ -47,11 +65,15 @@
-javaagent:${settings.localRepository}/org/aspectj/aspectjweaver/${aspectj.version}/aspectjweaver-${aspectj.version}.jar
</argLine>
<properties>
<property>
<name>dataproviderthreadcount</name>
<value>${threadCount}</value>
</property>
</properties>
<configurationParameters>
cucumber.execution.parallel.config.fixed.parallelism=${cucumber.execution.parallel.config.fixed.parallelism}
cucumber.execution.parallel.config.strategy=${cucumber.execution.parallel.config.strategy}
cucumber.execution.parallel.enabled=${cucumber.execution.parallel.enabled}
cucumber.filter.tags=${cucumber.filter.tags}
cucumber.glue=com.github.kripaliz.automation.cucumber.glue,${cucumber.glue}
cucumber.plugin=com.github.kripaliz.automation.cucumber.plugin.TestReportListener,io.qameta.allure.cucumber5jvm.AllureCucumber5Jvm,${cucumber.plugin}
</configurationParameters>
</properties>
</configuration>
<dependencies>
<dependency>
Expand All @@ -68,7 +90,7 @@
</plugin>
</plugins>
</build>

<licenses>
<license>
<name>Apache License, Version 2.0</name>
Expand Down Expand Up @@ -184,4 +206,4 @@
</build>
</profile>
</profiles>
</project>
</project>

0 comments on commit 82543af

Please sign in to comment.