java - How to generate test-output folder from testng tests? -


how generate test-output folder testng test?

i trying default testng report, index.html

netbeans7/windows7

i made simple testng test case, ran in netbeans 7, , here result. see no test-output. displaying project , file structure.

if need ant or maven, please describe detailed steps how proceed on windows 7 -- new both of tools.

if need build.xml, please give explicit, detailed steps

netbeans testng output , project file structure

edit:

here screenshot of final netbeans layout, including testsuite.xml file got results folder generate: enter image description here

by default report files (html & xml) written folder named test-output under workspace.

netbeans overrides location. places output build/test/results folder. please re-run testng test suite , watch results folder. required files generated there.

if want tinker output location open file nbproject/project.properties under project folder. in file there property called build.test.results.dir gets passed argument ant task testng run. not think need edit netbeans generated build files purpose.

also, when run tests, have @ console(netbeans) output, there may print messages such :

[-d output-directory] default output directory : test-output 

Comments

Popular posts from this blog

OpenCV OpenCL: Convert Mat to Bitmap in JNI Layer for Android -

android - org.xmlpull.v1.XmlPullParserException: expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope -

python - How to remove the Xframe Options header in django? -