aboutsummaryrefslogtreecommitdiff
path: root/readme.md
diff options
context:
space:
mode:
authorChristof Rabensteiner <christof.rabensteiner@iaik.tugraz.at>2019-06-28 10:29:50 +0200
committerChristof Rabensteiner <christof.rabensteiner@iaik.tugraz.at>2019-06-28 10:29:50 +0200
commitc43f9764b2132ce54a491c1daeeafe6aa4851ef5 (patch)
tree3f900f37b612fffd11a6069dd814f16474957053 /readme.md
parent7eb6db5c837db22055b51988031920599a7e7270 (diff)
downloadmoa-zs-c43f9764b2132ce54a491c1daeeafe6aa4851ef5.tar.gz
moa-zs-c43f9764b2132ce54a491c1daeeafe6aa4851ef5.tar.bz2
moa-zs-c43f9764b2132ce54a491c1daeeafe6aa4851ef5.zip
Separate Test Suite into Unit- And Integration Tests
Per default, integration tests are excluded from build. They can be included with the `-P integration-test` argument. - Pom: Add maven profile for integration tests. - Rename integration tests (add `IT` prefix). - Move Resources into IT* folders. - Add MsgClientTest to test suite and add assertions to each test case.
Diffstat (limited to 'readme.md')
-rw-r--r--readme.md23
1 files changed, 21 insertions, 2 deletions
diff --git a/readme.md b/readme.md
index 7572af1..c64be93 100644
--- a/readme.md
+++ b/readme.md
@@ -53,10 +53,29 @@ cp <path-to-local-eaaf-components-git-repo>/eaaf_modules/eaaf_module_moa-sig/rep
## Compile & Test
-Requirements: openJDK 12 (OpenJDK 11 has an unfixed bug [1] that prevents the completion of TLS handshakes.)
+### Run Unit Tests
+Requirements:
+- openJDK 12 (OpenJDK 11 has an unfixed bug [1] that prevents the completion of TLS handshakes.)
+
+Command:
```
mvn test
```
-[1] https://bugs.openjdk.java.net/browse/JDK-8214098 \ No newline at end of file
+### Run Integration Tests
+
+Integration tests start with the prefix `IT`.
+
+Requirements:
+- OpenJDK 12
+- Some integration tests have additional requirements (e.g. external services). Ensure that these requirements are met as well. Check out the source code for further details.
+
+Command:
+```
+mvn test -P integration-test
+```
+
+# Footnotes
+
+[1] https://bugs.openjdk.java.net/browse/JDK-8214098