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
edit:
here screenshot of final netbeans layout, including testsuite.xml file got results folder generate:
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
Post a Comment