aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Melchior <christian@ilios.dk>2017-11-12 15:11:37 +0100
committerChristian Melchior <christian@ilios.dk>2017-11-12 15:11:37 +0100
commit457934016fc5a8ba2135196d795c66e1dd25cb2c (patch)
tree740e74024391c020bc5b88c2c2b1095decf16990
parent3627be381b3302e48d575eedddaa9b3154267235 (diff)
downloadjavassist-457934016fc5a8ba2135196d795c66e1dd25cb2c.tar.gz
javassist-457934016fc5a8ba2135196d795c66e1dd25cb2c.zip
Update test README
-rw-r--r--src/test/Readme.txt21
1 files changed, 19 insertions, 2 deletions
diff --git a/src/test/Readme.txt b/src/test/Readme.txt
index 61f7c95f..c303f521 100644
--- a/src/test/Readme.txt
+++ b/src/test/Readme.txt
@@ -1,2 +1,19 @@
-check javassist.JvstTestRoot.PATH and .JAR_PATH and then
-run javassist.JvstTest under ./runtest
+# How to run tests
+
+Requirements:
+Java JDK 9
+Maven
+
+1) Build jar file and move it to the top level folder.
+
+ > mvn package
+ > mv ./target/javassist*-GA.jar ./javaassist.jar
+
+2) Check that ./src/test/javassist/JvstTestRoot.PATH and .JAR_PATH point to the compiled jar file.
+ The default is "../".
+
+3) Run Tests
+
+ > mvn test
+ > mvn surefire:test
+