Skip to content

Commit

Permalink
chore: updated build files and READMEs
Browse files Browse the repository at this point in the history
  • Loading branch information
gclaussn committed Sep 9, 2023
1 parent e2c4c15 commit 4488290
Show file tree
Hide file tree
Showing 19 changed files with 105 additions and 93 deletions.
2 changes: 1 addition & 1 deletion camunda-modeler-plugin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Installation

1. Ensure that Camunda Modeler 4.4.0 (or higher) or 5.7.0 is installed
1. Ensure that Camunda Modeler 4.4.0+ or 5.7.0+ is installed
2. [Download](https://github.com/camunda-community-hub/bpmn-driven-testing/releases/latest/download/bpmn-driven-testing-plugin.zip) latest Camunda Modeler plugin release
3. Unpackage downloaded ZIP file to the `resources/plugins/` directory of the Camunda Modeler installation
4. Start Camunda Modeler
Expand Down
32 changes: 16 additions & 16 deletions gradle-plugin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,10 @@ Add dependencies, which are required to execute the generated test code:

```groovy
dependencies {
implementation 'org.camunda.bpm:camunda-engine:7.18.0'
implementation 'org.camunda.bpm:camunda-engine:7.19.0'
testImplementation 'junit:junit:4.13.2'
testImplementation 'com.h2database:h2:2.1.214'
testImplementation 'com.h2database:h2:2.2.220'
testImplementation 'org.camunda.bpm.assert:camunda-bpm-assert:15.0.0'
testImplementation 'org.assertj:assertj-core:3.24.2'
}
Expand All @@ -95,9 +95,9 @@ For **JUnit 5** replace the `junit:junit` dependency and enable the JUnit platfo

```groovy
dependencies {
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.2'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.3'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.2'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.9.3'
}
test {
Expand All @@ -109,37 +109,37 @@ For **Spring** based testing, additional dependencies are required:

```groovy
dependencies {
implementation 'org.camunda.bpm:camunda-engine-spring:7.18.0'
implementation 'org.springframework:spring-beans:5.3.25'
implementation 'org.springframework:spring-context:5.3.25'
implementation 'org.springframework:spring-jdbc:5.3.25'
implementation 'org.camunda.bpm:camunda-engine-spring:7.19.0'
implementation 'org.springframework:spring-beans:5.3.29'
implementation 'org.springframework:spring-context:5.3.29'
implementation 'org.springframework:spring-jdbc:5.3.29'
testImplementation 'org.springframework:spring-test:5.3.25'
testImplementation 'org.springframework:spring-test:5.3.29'
}
```

For **Spring Boot** based testing, additional dependencies are required:

```groovy
dependencies {
implementation 'org.camunda.bpm.springboot:camunda-bpm-spring-boot-starter:7.18.0'
implementation 'org.camunda.bpm.springboot:camunda-bpm-spring-boot-starter:7.19.0'
testImplementation 'org.springframework.boot:spring-boot-starter-test:2.7.9'
testImplementation 'org.junit.vintage:junit-vintage-engine:5.8.2' // allows usage of JUnit 4
testImplementation 'org.springframework.boot:spring-boot-starter-test:2.7.15'
testImplementation 'org.junit.vintage:junit-vintage-engine:5.9.3' // allows usage of JUnit 4
}
```

Recommended versions:

| Dependency | Version |
|:-------------------|:--------|
| Camunda BPM | 7.18.0 |
| Camunda BPM | 7.19.0 |
| Camunda BPM Assert | 15.0.0 |
| JUnit 4 | 4.13.2 |
| JUnit 5 (Jupiter) | 5.8.2 |
| JUnit 5 (Jupiter) | 5.9.3 |
| Assertj | 3.24.2 |
| Spring Framework | 5.3.25 |
| Spring Boot | 2.7.9 |
| Spring Framework | 5.3.29 |
| Spring Boot | 2.7.15 |

## Development
:warning: This and the subsequent sections are only important for Gradle plugin development!
Expand Down
2 changes: 1 addition & 1 deletion impl/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<camunda.bpm.assert.version>15.0.0</camunda.bpm.assert.version>
<javapoet.version>1.13.0</javapoet.version>
<junit.version>4.13.2</junit.version>
<spring.version>5.3.25</spring.version>
<spring.version>5.3.29</spring.version>
</properties>

<dependencies>
Expand Down
6 changes: 3 additions & 3 deletions integration-tests/advanced-multi-instance/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ repositories {
}

dependencies {
implementation 'org.camunda.bpm:camunda-engine:7.18.0'
implementation 'org.camunda.bpm:camunda-engine:7.19.0'

testImplementation 'org.slf4j:slf4j-log4j12:1.7.32'
testImplementation 'org.slf4j:slf4j-log4j12:1.7.36'
testImplementation 'junit:junit:4.13.2'
testImplementation 'com.h2database:h2:2.1.214'
testImplementation 'com.h2database:h2:2.2.220'
testImplementation 'org.camunda.bpm.assert:camunda-bpm-assert:15.0.0'
testImplementation 'org.assertj:assertj-core:3.24.2'
}
Expand Down
8 changes: 5 additions & 3 deletions integration-tests/advanced-multi-instance/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,11 @@

<!-- Versions -->
<assertj.version>3.24.2</assertj.version>
<camunda.bpm.version>7.18.0</camunda.bpm.version>
<camunda.bpm.version>7.19.0</camunda.bpm.version>
<camunda.bpm.assert.version>15.0.0</camunda.bpm.assert.version>
<h2.version>2.2.220</h2.version>
<junit.version>4.13.2</junit.version>
<slf4j.version>1.7.36</slf4j.version>

<plugin.version>0.9.0-SNAPSHOT</plugin.version>
</properties>
Expand Down Expand Up @@ -48,7 +50,7 @@
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>1.7.32</version>
<version>${slf4j.version}</version>
<scope>test</scope>
</dependency>

Expand All @@ -61,7 +63,7 @@
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<version>2.2.220</version>
<version>${h2.version}</version>
<scope>test</scope>
</dependency>

Expand Down
14 changes: 7 additions & 7 deletions integration-tests/advanced-spring-boot-junit5/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,18 @@ repositories {
}

dependencies {
implementation 'org.camunda.bpm.springboot:camunda-bpm-spring-boot-starter:7.18.0'
implementation 'org.camunda.bpm:camunda-engine-plugin-spin:7.18.0'
implementation 'org.camunda.spin:camunda-spin-dataformat-json-jackson:1.18.1'
implementation 'org.camunda.bpm.springboot:camunda-bpm-spring-boot-starter:7.19.0'
implementation 'org.camunda.bpm:camunda-engine-plugin-spin:7.19.0'
implementation 'org.camunda.spin:camunda-spin-dataformat-json-jackson:1.21.0'

testImplementation 'org.hamcrest:hamcrest-core:2.2'
testImplementation 'com.h2database:h2:2.1.214'
testImplementation 'com.h2database:h2:2.2.220'
testImplementation 'org.camunda.bpm.assert:camunda-bpm-assert:15.0.0'
testImplementation 'org.assertj:assertj-core:3.24.2'
testImplementation 'org.springframework.boot:spring-boot-starter-test:2.7.9'
testImplementation 'org.junit.vintage:junit-vintage-engine:5.8.2'
testImplementation 'org.springframework.boot:spring-boot-starter-test:2.7.15'
testImplementation 'org.junit.vintage:junit-vintage-engine:5.9.3'

testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.2'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.9.3'
}

test {
Expand Down
7 changes: 4 additions & 3 deletions integration-tests/advanced-spring-boot-junit5/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@

<!-- Versions -->
<assertj.version>3.24.2</assertj.version>
<camunda.bpm.version>7.18.0</camunda.bpm.version>
<camunda.bpm.version>7.19.0</camunda.bpm.version>
<camunda.bpm.assert.version>15.0.0</camunda.bpm.assert.version>
<spring.boot.version>2.7.9</spring.boot.version>
<h2.version>2.2.220</h2.version>
<spring.boot.version>2.7.15</spring.boot.version>

<plugin.version>0.9.0-SNAPSHOT</plugin.version>
</properties>
Expand Down Expand Up @@ -70,7 +71,7 @@
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<version>2.2.220</version>
<version>${h2.version}</version>
<scope>test</scope>
</dependency>

Expand Down
12 changes: 6 additions & 6 deletions integration-tests/advanced-spring-boot/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@ repositories {
}

dependencies {
implementation 'org.camunda.bpm.springboot:camunda-bpm-spring-boot-starter:7.18.0'
implementation 'org.camunda.bpm:camunda-engine-plugin-spin:7.18.0'
implementation 'org.camunda.spin:camunda-spin-dataformat-json-jackson:1.18.1'
implementation 'org.camunda.bpm.springboot:camunda-bpm-spring-boot-starter:7.19.0'
implementation 'org.camunda.bpm:camunda-engine-plugin-spin:7.19.0'
implementation 'org.camunda.spin:camunda-spin-dataformat-json-jackson:1.21.0'

testImplementation 'org.hamcrest:hamcrest-core:2.2'
testImplementation 'com.h2database:h2:2.1.214'
testImplementation 'com.h2database:h2:2.2.220'
testImplementation 'org.camunda.bpm.assert:camunda-bpm-assert:15.0.0'
testImplementation 'org.assertj:assertj-core:3.24.2'
testImplementation 'org.springframework.boot:spring-boot-starter-test:2.7.9'
testImplementation 'org.junit.vintage:junit-vintage-engine:5.8.2'
testImplementation 'org.springframework.boot:spring-boot-starter-test:2.7.15'
testImplementation 'org.junit.vintage:junit-vintage-engine:5.9.3'
}

test {
Expand Down
7 changes: 4 additions & 3 deletions integration-tests/advanced-spring-boot/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@

<!-- Versions -->
<assertj.version>3.24.2</assertj.version>
<camunda.bpm.version>7.18.0</camunda.bpm.version>
<camunda.bpm.version>7.19.0</camunda.bpm.version>
<camunda.bpm.assert.version>15.0.0</camunda.bpm.assert.version>
<spring.boot.version>2.7.9</spring.boot.version>
<h2.version>2.2.220</h2.version>
<spring.boot.version>2.7.15</spring.boot.version>

<plugin.version>0.9.0-SNAPSHOT</plugin.version>
</properties>
Expand Down Expand Up @@ -70,7 +71,7 @@
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<version>2.2.220</version>
<version>${h2.version}</version>
<scope>test</scope>
</dependency>

Expand Down
22 changes: 11 additions & 11 deletions integration-tests/advanced-spring-junit5/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,22 @@ repositories {
}

dependencies {
implementation 'org.camunda.bpm:camunda-engine:7.18.0'
implementation 'org.camunda.bpm:camunda-engine-plugin-spin:7.18.0'
implementation 'org.camunda.bpm:camunda-engine-spring:7.18.0'
implementation 'org.springframework:spring-beans:5.3.25'
implementation 'org.springframework:spring-context:5.3.25'
implementation 'org.springframework:spring-jdbc:5.3.25'
implementation 'org.camunda.bpm:camunda-engine:7.19.0'
implementation 'org.camunda.bpm:camunda-engine-plugin-spin:7.19.0'
implementation 'org.camunda.bpm:camunda-engine-spring:7.19.0'
implementation 'org.springframework:spring-beans:5.3.29'
implementation 'org.springframework:spring-context:5.3.29'
implementation 'org.springframework:spring-jdbc:5.3.29'

testImplementation 'org.slf4j:slf4j-log4j12:1.7.32'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.2'
testImplementation 'org.slf4j:slf4j-log4j12:1.7.36'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.9.3'
testImplementation 'org.hamcrest:hamcrest-core:2.2'
testImplementation 'com.h2database:h2:2.1.214'
testImplementation 'com.h2database:h2:2.2.220'
testImplementation 'org.camunda.bpm.assert:camunda-bpm-assert:15.0.0'
testImplementation 'org.assertj:assertj-core:3.24.2'
testImplementation 'org.springframework:spring-test:5.3.25'
testImplementation 'org.springframework:spring-test:5.3.29'

testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.2'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.9.3'
}

test {
Expand Down
12 changes: 7 additions & 5 deletions integration-tests/advanced-spring-junit5/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,12 @@

<!-- Versions -->
<assertj.version>3.24.2</assertj.version>
<camunda.bpm.version>7.18.0</camunda.bpm.version>
<camunda.bpm.version>7.19.0</camunda.bpm.version>
<camunda.bpm.assert.version>15.0.0</camunda.bpm.assert.version>
<junit.jupiter.version>5.8.2</junit.jupiter.version>
<spring.version>5.3.25</spring.version>
<h2.version>2.2.220</h2.version>
<junit.jupiter.version>5.9.3</junit.jupiter.version>
<slf4j.version>1.7.36</slf4j.version>
<spring.version>5.3.29</spring.version>

<plugin.version>0.9.0-SNAPSHOT</plugin.version>
</properties>
Expand Down Expand Up @@ -73,7 +75,7 @@
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>1.7.32</version>
<version>${slf4j.version}</version>
<scope>test</scope>
</dependency>

Expand All @@ -91,7 +93,7 @@
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<version>2.2.220</version>
<version>${h2.version}</version>
<scope>test</scope>
</dependency>

Expand Down
18 changes: 9 additions & 9 deletions integration-tests/advanced-spring/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,20 @@ repositories {
}

dependencies {
implementation 'org.camunda.bpm:camunda-engine:7.18.0'
implementation 'org.camunda.bpm:camunda-engine-plugin-spin:7.18.0'
implementation 'org.camunda.bpm:camunda-engine-spring:7.18.0'
implementation 'org.springframework:spring-beans:5.3.25'
implementation 'org.springframework:spring-context:5.3.25'
implementation 'org.springframework:spring-jdbc:5.3.25'
implementation 'org.camunda.bpm:camunda-engine:7.19.0'
implementation 'org.camunda.bpm:camunda-engine-plugin-spin:7.19.0'
implementation 'org.camunda.bpm:camunda-engine-spring:7.19.0'
implementation 'org.springframework:spring-beans:5.3.29'
implementation 'org.springframework:spring-context:5.3.29'
implementation 'org.springframework:spring-jdbc:5.3.29'

testImplementation 'org.slf4j:slf4j-log4j12:1.7.32'
testImplementation 'org.slf4j:slf4j-log4j12:1.7.36'
testImplementation 'junit:junit:4.13.2'
testImplementation 'org.hamcrest:hamcrest-core:2.2'
testImplementation 'com.h2database:h2:2.1.214'
testImplementation 'com.h2database:h2:2.2.220'
testImplementation 'org.camunda.bpm.assert:camunda-bpm-assert:15.0.0'
testImplementation 'org.assertj:assertj-core:3.24.2'
testImplementation 'org.springframework:spring-test:5.3.25'
testImplementation 'org.springframework:spring-test:5.3.29'
}

test {
Expand Down
10 changes: 6 additions & 4 deletions integration-tests/advanced-spring/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,12 @@

<!-- Versions -->
<assertj.version>3.24.2</assertj.version>
<camunda.bpm.version>7.18.0</camunda.bpm.version>
<camunda.bpm.version>7.19.0</camunda.bpm.version>
<camunda.bpm.assert.version>15.0.0</camunda.bpm.assert.version>
<h2.version>2.2.220</h2.version>
<junit.version>4.13.2</junit.version>
<spring.version>5.3.25</spring.version>
<slf4j.version>1.7.36</slf4j.version>
<spring.version>5.3.29</spring.version>

<plugin.version>0.9.0-SNAPSHOT</plugin.version>
</properties>
Expand Down Expand Up @@ -73,7 +75,7 @@
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>1.7.32</version>
<version>${slf4j.version}</version>
<scope>test</scope>
</dependency>

Expand All @@ -92,7 +94,7 @@
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<version>2.2.220</version>
<version>${h2.version}</version>
<scope>test</scope>
</dependency>

Expand Down
6 changes: 3 additions & 3 deletions integration-tests/advanced/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ repositories {
}

dependencies {
implementation 'org.camunda.bpm:camunda-engine:7.18.0'
implementation 'org.camunda.bpm:camunda-engine:7.19.0'

testImplementation 'org.slf4j:slf4j-log4j12:1.7.32'
testImplementation 'org.slf4j:slf4j-log4j12:1.7.36'
testImplementation 'junit:junit:4.13.2'
testImplementation 'com.h2database:h2:2.1.214'
testImplementation 'com.h2database:h2:2.2.220'
testImplementation 'org.camunda.bpm.assert:camunda-bpm-assert:15.0.0'
testImplementation 'org.assertj:assertj-core:3.24.2'
}
Expand Down
Loading

0 comments on commit 4488290

Please sign in to comment.