Skip to content

Commit

Permalink
chore: updated build files and READMEs, updated integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gclaussn committed Oct 20, 2024
1 parent 484d811 commit e55928d
Show file tree
Hide file tree
Showing 43 changed files with 106 additions and 65 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ For information on how to install, configure and use the plugins visit:
- [bpmn-driven-testing-gradle-plugin](gradle-plugin)
- [bpmn-driven-testing-8-gradle-plugin](gradle-plugin-8) (Camunda Platform 8)

:warning: Version [0.13.0](https://github.com/camunda-community-hub/bpmn-driven-testing/tree/0.13.0) supports [Camunda 7.22](https://docs.camunda.org/manual/7.22/) and [Camunda 8.6](https://docs.camunda.io/docs/8.6/guides/)

:warning: Version [0.10.0](https://github.com/camunda-community-hub/bpmn-driven-testing/tree/0.10.0) supports [Camunda 7.21](https://docs.camunda.org/manual/7.21/) (Java 11+) and drops test code generation for JUnit 4. For older Camunda versions (Java 8+) and JUnit 4 support, please rely on version [0.9.0](https://github.com/camunda-community-hub/bpmn-driven-testing/tree/0.9.0).

## Features
Expand Down
4 changes: 2 additions & 2 deletions camunda-modeler-plugin/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion camunda-modeler-plugin/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bpmn-driven-testing-plugin",
"version": "0.13.0-SNAPSHOT",
"version": "1.0.0-SNAPSHOT",
"description": "Camunda Modeler Plugin for BPMN Driven Testing",
"main": "index.js",
"scripts": {
Expand Down
6 changes: 3 additions & 3 deletions gradle-plugin-8/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ pluginManagement {
resolutionStrategy {
eachPlugin {
if (requested.id.toString() == 'org.camunda.community.bpmndt') {
useModule("org.camunda.community:bpmn-driven-testing-8-gradle-plugin:0.12.0")
useModule("org.camunda.community:bpmn-driven-testing-8-gradle-plugin:0.13.0")
}
}
}
Expand Down Expand Up @@ -76,7 +76,7 @@ Add dependencies, which are required to execute the generated test code:

```groovy
dependencies {
testImplementation 'io.camunda:zeebe-process-test-extension:8.5.5'
testImplementation 'io.camunda:zeebe-process-test-extension:8.6.3'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.10.1'
testCompileOnly 'org.immutables:annotate:2.10.0'
Expand All @@ -94,7 +94,7 @@ Recommended versions:

| Dependency | Version |
|:-----------------------------|:--------|
| Zeebe Process Test Extension | 8.5.5 |
| Zeebe Process Test Extension | 8.6.3 |
| JUnit 5 (Jupiter) | 5.10.1 |

## Testing
Expand Down
2 changes: 1 addition & 1 deletion gradle-plugin-8/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.camunda.community</groupId>
<artifactId>bpmn-driven-testing-root</artifactId>
<version>0.13.1-SNAPSHOT</version>
<version>1.0.0-SNAPSHOT</version>
</parent>

<artifactId>bpmn-driven-testing-8-gradle-plugin</artifactId>
Expand Down
10 changes: 5 additions & 5 deletions gradle-plugin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ pluginManagement {
resolutionStrategy {
eachPlugin {
if (requested.id.toString() == 'org.camunda.community.bpmndt') {
useModule("org.camunda.community:bpmn-driven-testing-gradle-plugin:0.12.0")
useModule("org.camunda.community:bpmn-driven-testing-gradle-plugin:0.13.0")
}
}
}
Expand Down Expand Up @@ -80,7 +80,7 @@ Add dependencies, which are required to execute the generated test code:

```groovy
dependencies {
implementation 'org.camunda.bpm:camunda-engine:7.21.0'
implementation 'org.camunda.bpm:camunda-engine:7.22.0'
testImplementation 'com.h2database:h2:2.2.224'
testImplementation 'org.assertj:assertj-core:3.26.3'
Expand All @@ -99,7 +99,7 @@ For **Spring** based testing, additional dependencies are required:

```groovy
dependencies {
implementation 'org.camunda.bpm:camunda-engine-spring:7.21.0'
implementation 'org.camunda.bpm:camunda-engine-spring:7.22.0'
implementation 'org.springframework:spring-beans:6.1.14'
implementation 'org.springframework:spring-context:6.1.14'
implementation 'org.springframework:spring-jdbc:6.1.14'
Expand All @@ -112,7 +112,7 @@ For **Spring Boot** based testing, additional dependencies are required:

```groovy
dependencies {
implementation 'org.camunda.bpm.springboot:camunda-bpm-spring-boot-starter:7.21.0'
implementation 'org.camunda.bpm.springboot:camunda-bpm-spring-boot-starter:7.22.0'
testImplementation 'org.springframework.boot:spring-boot-starter-test:3.3.4'
}
Expand All @@ -122,7 +122,7 @@ Recommended versions:

| Dependency | Version |
|:-------------------|:--------|
| Camunda BPM | 7.21.0 |
| Camunda BPM | 7.22.0 |
| Camunda BPM Assert | 15.0.0 |
| JUnit 5 (Jupiter) | 5.10.1 |
| Assertj | 3.26.3 |
Expand Down
2 changes: 1 addition & 1 deletion gradle-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.camunda.community</groupId>
<artifactId>bpmn-driven-testing-root</artifactId>
<version>0.13.1-SNAPSHOT</version>
<version>1.0.0-SNAPSHOT</version>
</parent>

<artifactId>bpmn-driven-testing-gradle-plugin</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion impl-8/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.camunda.community</groupId>
<artifactId>bpmn-driven-testing-root</artifactId>
<version>0.13.1-SNAPSHOT</version>
<version>1.0.0-SNAPSHOT</version>
</parent>

<artifactId>bpmn-driven-testing-impl-8</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion impl/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.camunda.community</groupId>
<artifactId>bpmn-driven-testing-root</artifactId>
<version>0.13.1-SNAPSHOT</version>
<version>1.0.0-SNAPSHOT</version>
</parent>

<artifactId>bpmn-driven-testing-impl</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion integration-tests-8/advanced-multi-instance/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ repositories {
}

dependencies {
testImplementation 'io.camunda:zeebe-process-test-extension:8.5.5'
testImplementation 'io.camunda:zeebe-process-test-extension:8.6.3'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.10.1'
testImplementation 'com.google.truth:truth:1.4.4'

Expand Down
17 changes: 15 additions & 2 deletions integration-tests-8/advanced-multi-instance/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

<!-- Versions -->
<camunda.zeebe.version>8.5.5</camunda.zeebe.version>
<camunda.zeebe.version>8.6.3</camunda.zeebe.version>
<google.truth.version>1.4.4</google.truth.version>
<junit.jupiter.version>5.10.1</junit.jupiter.version>
<slf4j.version>1.7.36</slf4j.version>

<plugin.version>0.13.0-SNAPSHOT</plugin.version>
<plugin.version>1.0.0-SNAPSHOT</plugin.version>
</properties>

<repositories>
Expand All @@ -25,6 +25,18 @@
</repository>
</repositories>

<dependencyManagement>
<dependencies>
<dependency> <!-- https://github.com/camunda-community-hub/spring-zeebe/issues/920 -->
<groupId>io.grpc</groupId>
<artifactId>grpc-bom</artifactId>
<version>1.65.1</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>

<dependencies>
<dependency>
<groupId>org.immutables</groupId>
Expand All @@ -44,6 +56,7 @@
<groupId>io.camunda</groupId>
<artifactId>zeebe-process-test-extension</artifactId>
<version>${camunda.zeebe.version}</version>
<scope>test</scope>
</dependency>

<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ pluginManagement {
resolutionStrategy {
eachPlugin {
if (requested.id.toString() == 'org.camunda.community.bpmndt') {
def pluginVersion = startParameter.projectProperties['plugin.version'] ?: '0.13.0-SNAPSHOT'
def pluginVersion = startParameter.projectProperties['plugin.version'] ?: '1.0.0-SNAPSHOT'
useModule("org.camunda.community:bpmn-driven-testing-8-gradle-plugin:${pluginVersion}")
}
}
Expand Down
2 changes: 1 addition & 1 deletion integration-tests-8/advanced/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ repositories {
}

dependencies {
testImplementation 'io.camunda:zeebe-process-test-extension:8.5.5'
testImplementation 'io.camunda:zeebe-process-test-extension:8.6.3'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.10.1'
testImplementation 'com.google.truth:truth:1.4.4'

Expand Down
17 changes: 15 additions & 2 deletions integration-tests-8/advanced/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

<!-- Versions -->
<camunda.zeebe.version>8.5.5</camunda.zeebe.version>
<camunda.zeebe.version>8.6.3</camunda.zeebe.version>
<google.truth.version>1.4.4</google.truth.version>
<junit.jupiter.version>5.10.1</junit.jupiter.version>
<slf4j.version>1.7.36</slf4j.version>

<plugin.version>0.13.0-SNAPSHOT</plugin.version>
<plugin.version>1.0.0-SNAPSHOT</plugin.version>
</properties>

<repositories>
Expand All @@ -25,6 +25,18 @@
</repository>
</repositories>

<dependencyManagement>
<dependencies>
<dependency> <!-- https://github.com/camunda-community-hub/spring-zeebe/issues/920 -->
<groupId>io.grpc</groupId>
<artifactId>grpc-bom</artifactId>
<version>1.65.1</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>

<dependencies>
<dependency>
<groupId>org.immutables</groupId>
Expand All @@ -44,6 +56,7 @@
<groupId>io.camunda</groupId>
<artifactId>zeebe-process-test-extension</artifactId>
<version>${camunda.zeebe.version}</version>
<scope>test</scope>
</dependency>

<dependency>
Expand Down
2 changes: 1 addition & 1 deletion integration-tests-8/advanced/settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ pluginManagement {
resolutionStrategy {
eachPlugin {
if (requested.id.toString() == 'org.camunda.community.bpmndt') {
def pluginVersion = startParameter.projectProperties['plugin.version'] ?: '0.13.0-SNAPSHOT'
def pluginVersion = startParameter.projectProperties['plugin.version'] ?: '1.0.0-SNAPSHOT'
useModule("org.camunda.community:bpmn-driven-testing-8-gradle-plugin:${pluginVersion}")
}
}
Expand Down
2 changes: 1 addition & 1 deletion integration-tests-8/simple/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ repositories {
}

dependencies {
testImplementation 'io.camunda:zeebe-process-test-extension:8.5.5'
testImplementation 'io.camunda:zeebe-process-test-extension:8.6.3'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.10.1'
testImplementation 'com.google.truth:truth:1.4.4'

Expand Down
17 changes: 15 additions & 2 deletions integration-tests-8/simple/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

<!-- Versions -->
<camunda.zeebe.version>8.5.5</camunda.zeebe.version>
<camunda.zeebe.version>8.6.3</camunda.zeebe.version>
<google.truth.version>1.4.4</google.truth.version>
<junit.jupiter.version>5.10.1</junit.jupiter.version>
<slf4j.version>1.7.36</slf4j.version>

<plugin.version>0.13.0-SNAPSHOT</plugin.version>
<plugin.version>1.0.0-SNAPSHOT</plugin.version>
</properties>

<repositories>
Expand All @@ -25,6 +25,18 @@
</repository>
</repositories>

<dependencyManagement>
<dependencies>
<dependency> <!-- https://github.com/camunda-community-hub/spring-zeebe/issues/920 -->
<groupId>io.grpc</groupId>
<artifactId>grpc-bom</artifactId>
<version>1.65.1</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>

<dependencies>
<dependency>
<groupId>org.immutables</groupId>
Expand All @@ -44,6 +56,7 @@
<groupId>io.camunda</groupId>
<artifactId>zeebe-process-test-extension</artifactId>
<version>${camunda.zeebe.version}</version>
<scope>test</scope>
</dependency>

<dependency>
Expand Down
2 changes: 1 addition & 1 deletion integration-tests-8/simple/settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ pluginManagement {
resolutionStrategy {
eachPlugin {
if (requested.id.toString() == 'org.camunda.community.bpmndt') {
def pluginVersion = startParameter.projectProperties['plugin.version'] ?: '0.13.0-SNAPSHOT'
def pluginVersion = startParameter.projectProperties['plugin.version'] ?: '1.0.0-SNAPSHOT'
useModule("org.camunda.community:bpmn-driven-testing-8-gradle-plugin:${pluginVersion}")
}
}
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/advanced-multi-instance/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ repositories {
}

dependencies {
implementation 'org.camunda.bpm:camunda-engine:7.21.0'
implementation 'org.camunda.bpm:camunda-engine:7.22.0'

testImplementation 'org.slf4j:slf4j-reload4j:1.7.36'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.10.1'
Expand Down
4 changes: 2 additions & 2 deletions integration-tests/advanced-multi-instance/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@

<!-- Versions -->
<assertj.version>3.26.3</assertj.version>
<camunda.bpm.version>7.21.0</camunda.bpm.version>
<camunda.bpm.version>7.22.0</camunda.bpm.version>
<camunda.bpm.assert.version>15.0.0</camunda.bpm.assert.version>
<h2.version>2.2.224</h2.version>
<junit.jupiter.version>5.10.1</junit.jupiter.version>
<slf4j.version>1.7.36</slf4j.version>

<plugin.version>0.13.0-SNAPSHOT</plugin.version>
<plugin.version>1.0.0-SNAPSHOT</plugin.version>
</properties>

<repositories>
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/advanced-multi-instance/settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ pluginManagement {
resolutionStrategy {
eachPlugin {
if (requested.id.toString() == 'org.camunda.community.bpmndt') {
def pluginVersion = startParameter.projectProperties['plugin.version'] ?: '0.13.0-SNAPSHOT'
def pluginVersion = startParameter.projectProperties['plugin.version'] ?: '1.0.0-SNAPSHOT'
useModule("org.camunda.community:bpmn-driven-testing-gradle-plugin:${pluginVersion}")
}
}
Expand Down
4 changes: 2 additions & 2 deletions integration-tests/advanced-spring-boot/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ repositories {
}

dependencies {
implementation 'org.camunda.bpm.springboot:camunda-bpm-spring-boot-starter:7.21.0'
implementation 'org.camunda.bpm:camunda-engine-plugin-spin:7.21.0'
implementation 'org.camunda.bpm.springboot:camunda-bpm-spring-boot-starter:7.22.0'
implementation 'org.camunda.bpm:camunda-engine-plugin-spin:7.22.0'
implementation 'org.camunda.spin:camunda-spin-dataformat-json-jackson:1.23.0'

testImplementation 'org.hamcrest:hamcrest-core:2.2'
Expand Down
4 changes: 2 additions & 2 deletions integration-tests/advanced-spring-boot/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@

<!-- Versions -->
<assertj.version>3.26.3</assertj.version>
<camunda.bpm.version>7.21.0</camunda.bpm.version>
<camunda.bpm.version>7.22.0</camunda.bpm.version>
<camunda.bpm.assert.version>15.0.0</camunda.bpm.assert.version>
<h2.version>2.2.224</h2.version>
<spring.boot.version>3.3.4</spring.boot.version>

<plugin.version>0.13.0-SNAPSHOT</plugin.version>
<plugin.version>1.0.0-SNAPSHOT</plugin.version>
</properties>

<repositories>
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/advanced-spring-boot/settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ pluginManagement {
resolutionStrategy {
eachPlugin {
if (requested.id.toString() == 'org.camunda.community.bpmndt') {
def pluginVersion = startParameter.projectProperties['plugin.version'] ?: '0.13.0-SNAPSHOT'
def pluginVersion = startParameter.projectProperties['plugin.version'] ?: '1.0.0-SNAPSHOT'
useModule("org.camunda.community:bpmn-driven-testing-gradle-plugin:${pluginVersion}")
}
}
Expand Down
Loading

0 comments on commit e55928d

Please sign in to comment.