From: Christian Melchior Date: Sun, 12 Nov 2017 14:11:37 +0000 (+0100) Subject: Update test README X-Git-Tag: rel_3_23_0_ga~3^2~5 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=457934016fc5a8ba2135196d795c66e1dd25cb2c;p=javassist.git Update test README --- 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 +