From 457934016fc5a8ba2135196d795c66e1dd25cb2c Mon Sep 17 00:00:00 2001 From: Christian Melchior Date: Sun, 12 Nov 2017 15:11:37 +0100 Subject: [PATCH] Update test README --- src/test/Readme.txt | 21 +++++++++++++++++++-- 1 file 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 + -- 2.39.5