aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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
+