java - How to read test logs -
i have run maven test have logs in big log file can found error pointing out to. see when go down bottom says faliure exception message null , functional clas test name , othe id names?
tests fail logged in respective test report files.
when there errors mvn test
lead this: (assuming typical surefire usage)
[error] please refer .../project/target/surefire-reports individual test results.
if in directory, you'll see this: (specific project)
some.rnd.pkg.anygiventest.txt
(depending on configuration, may have xml instead, or in addition, etc. xml has significant other information well, classpath , property info--it can handy sometimes, although stack trace enough.)
stack traces in there.
Comments
Post a Comment