Skip to content

Commit 78204e9

Browse files
committed
Update to release version
Signed-off-by: Kyle Aure <[email protected]>
1 parent 7083abc commit 78204e9

File tree

8 files changed

+60
-16
lines changed

8 files changed

+60
-16
lines changed

README.md

+30-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Add `microshed-testing-testcontainers` and `junit-jupiter` as test-scoped depend
2525
<dependency>
2626
<groupId>org.microshed</groupId>
2727
<artifactId>microshed-testing-testcontainers</artifactId>
28-
<version>0.9.1</version>
28+
<version>0.9.2</version>
2929
<scope>test</scope>
3030
</dependency>
3131

@@ -40,6 +40,34 @@ Add `microshed-testing-testcontainers` and `junit-jupiter` as test-scoped depend
4040
</dependencies>
4141
```
4242

43+
## How to test a Java EE application
44+
45+
Add `microshed-testing-core` as a test-scoped dependency:
46+
```xml
47+
<dependencies>
48+
<dependency>
49+
<groupId>org.microshed</groupId>
50+
<artifactId>microshed-testing-core</artifactId>
51+
<version>0.9.2</version>
52+
<scope>test</scope>
53+
</dependency>
54+
</dependencies>
55+
```
56+
57+
## How to test a Jakarta EE application
58+
59+
Add `microshed-testing-core-jakarta` as a test-scoped dependency:
60+
```xml
61+
<dependencies>
62+
<dependency>
63+
<groupId>org.microshed</groupId>
64+
<artifactId>microshed-testing-core-jakarta</artifactId>
65+
<version>0.9.2</version>
66+
<scope>test</scope>
67+
</dependency>
68+
</dependencies>
69+
```
70+
4371
# How to try out a sample locally:
4472

4573
### Run with Maven:
@@ -59,7 +87,7 @@ NOTE: The first run will take longer due to downloading required container layer
5987
NOTE: If a container is consistantly timing out on your system you can set a longer timeout (in seconds) with the system property
6088
`microshed.testing.startup.timeout` default value is 60 seconds.
6189

62-
NOTE: If a mockserver has started, but HTTP calls are consistantly timint out on your system you can set a longer timeout (in milliseconds)
90+
NOTE: If a mockserver has started, but HTTP calls are consistantly timing out on your system you can set a longer timeout (in milliseconds)
6391
with the system property `mockserver.maxSocketTimeout` default value is 120000 milliseconds.
6492

6593
### Tested with:

build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ plugins {
22
// to check for updates run: ./gradlew dependencyUpdates -Drevision=release
33
id 'com.github.ben-manes.versions' version '0.50.0'
44
}
5-
ext.currentVersion = '0.9.2-SNAPSHOT'
6-
ext.lastRelease = '0.9.1'
5+
ext.currentVersion = '0.9.2'
6+
ext.lastRelease = '0.9.2'
77

88
subprojects {
99
apply plugin: 'java'

core/src/main/java/org/microshed/testing/jaxrs/RestClientBuilder.java

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2019 IBM Corporation and others
2+
* Copyright (c) 2019, 2023 IBM Corporation and others
33
*
44
* See the NOTICE file(s) distributed with this work for additional
55
* information regarding copyright ownership.
@@ -110,6 +110,8 @@ public RestClientBuilder withBasicAuth(String user, String password) {
110110
}
111111

112112
/**
113+
* @param key The header key
114+
* @param value The header value
113115
* @return The same builder instance
114116
*/
115117
public RestClientBuilder withHeader(String key, String value) {

docs/features/SupportedRuntimes.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Maven Dependency:
1212
<dependency>
1313
<groupId>org.microshed</groupId>
1414
<artifactId>microshed-testing-liberty</artifactId>
15-
<version>0.9.1</version>
15+
<version>0.9.2</version>
1616
</dependency>
1717
```
1818

@@ -32,7 +32,7 @@ Maven Dependency:
3232
<dependency>
3333
<groupId>org.microshed</groupId>
3434
<artifactId>microshed-testing-payara-micro</artifactId>
35-
<version>0.9.1</version>
35+
<version>0.9.2</version>
3636
</dependency>
3737
```
3838

@@ -52,7 +52,7 @@ Maven Dependency:
5252
<dependency>
5353
<groupId>org.microshed</groupId>
5454
<artifactId>microshed-testing-payara-server</artifactId>
55-
<version>0.9.1</version>
55+
<version>0.9.2</version>
5656
</dependency>
5757
```
5858

@@ -71,7 +71,7 @@ Maven Dependency:
7171
<dependency>
7272
<groupId>org.microshed</groupId>
7373
<artifactId>microshed-testing-wildfly</artifactId>
74-
<version>0.9.1</version>
74+
<version>0.9.2</version>
7575
</dependency>
7676
```
7777

@@ -93,7 +93,7 @@ Maven Dependency:
9393
<dependency>
9494
<groupId>org.microshed</groupId>
9595
<artifactId>microshed-testing-quarkus</artifactId>
96-
<version>0.9.1</version>
96+
<version>0.9.2</version>
9797
</dependency>
9898
```
9999

docs/features/Walkthrough.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,14 @@ Given the above application code, we can start by adding maven dependencies:
6161
<dependency>
6262
<groupId>org.microshed</groupId>
6363
<artifactId>microshed-testing-testcontainers</artifactId>
64-
<version>0.9.1</version>
64+
<version>0.9.2</version>
65+
<scope>test</scope>
66+
</dependency>
67+
68+
<dependency>
69+
<groupId>org.microshed</groupId>
70+
<artifactId>microshed-testing-core-jakarta</artifactId>
71+
<version>0.9.2</version>
6572
<scope>test</scope>
6673
</dependency>
6774

docs/index.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,14 @@ To get started writing a test with MicroShed Testing, add `system-test` and `jun
128128
<dependency>
129129
<groupId>org.microshed</groupId>
130130
<artifactId>microshed-testing-testcontainers</artifactId>
131-
<version>0.9.1</version>
131+
<version>0.9.2</version>
132+
<scope>test</scope>
133+
</dependency>
134+
135+
<dependency>
136+
<groupId>org.microshed</groupId>
137+
<artifactId>microshed-testing-core-jakarta</artifactId>
138+
<version>0.9.2</version>
132139
<scope>test</scope>
133140
</dependency>
134141

sample-apps/maven-app/pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,13 @@
3434
<dependency>
3535
<groupId>org.microshed</groupId>
3636
<artifactId>microshed-testing-testcontainers</artifactId>
37-
<version>0.9.2-SNAPSHOT</version>
37+
<version>0.9.2</version>
3838
<scope>test</scope>
3939
</dependency>
4040
<dependency>
4141
<groupId>org.microshed</groupId>
4242
<artifactId>microshed-testing-core</artifactId>
43-
<version>0.9.2-SNAPSHOT</version>
43+
<version>0.9.2</version>
4444
<scope>test</scope>
4545
</dependency>
4646
<dependency>

sample-apps/quarkus-app/pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -87,13 +87,13 @@
8787
<dependency>
8888
<groupId>org.microshed</groupId>
8989
<artifactId>microshed-testing-quarkus</artifactId>
90-
<version>0.9.2-SNAPSHOT</version>
90+
<version>0.9.2</version>
9191
<scope>test</scope>
9292
</dependency>
9393
<dependency>
9494
<groupId>org.microshed</groupId>
9595
<artifactId>microshed-testing-core-jakarta</artifactId>
96-
<version>0.9.2-SNAPSHOT</version>
96+
<version>0.9.2</version>
9797
<scope>test</scope>
9898
</dependency>
9999
<dependency>

0 commit comments

Comments
 (0)