@@ -25,7 +25,7 @@ Add `microshed-testing-testcontainers` and `junit-jupiter` as test-scoped depend
25
25
<dependency >
26
26
<groupId >org.microshed</groupId >
27
27
<artifactId >microshed-testing-testcontainers</artifactId >
28
- <version >0.9.1 </version >
28
+ <version >0.9.2 </version >
29
29
<scope >test</scope >
30
30
</dependency >
31
31
@@ -40,6 +40,34 @@ Add `microshed-testing-testcontainers` and `junit-jupiter` as test-scoped depend
40
40
</dependencies >
41
41
```
42
42
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
+
43
71
# How to try out a sample locally:
44
72
45
73
### Run with Maven:
@@ -59,7 +87,7 @@ NOTE: The first run will take longer due to downloading required container layer
59
87
NOTE: If a container is consistantly timing out on your system you can set a longer timeout (in seconds) with the system property
60
88
` microshed.testing.startup.timeout ` default value is 60 seconds.
61
89
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)
63
91
with the system property ` mockserver.maxSocketTimeout ` default value is 120000 milliseconds.
64
92
65
93
### Tested with:
0 commit comments