Reputation: 11
Can someone explain what needs to change in Eclipse to resolve the following TestNG reporting issues?
After updating Eclipse MARS.2 TestNG plug-in to 6.9.11.201604020423, TestNG displays messages showing problems with writing the results:
[Utils] Problem creating output directory C:\the\project\path\test-output\old\Default suite [Utils] Attempting to create C:\the\project\path\test-output\old\Default suite\toc.html [Utils] Directory C:\the\project\path\test-output\old\Default suite exists: true
Upvotes: 1
Views: 2399
Reputation: 372
the log you mentioned is the TestNG debug log, this got fixed in ticket: https://github.com/cbeust/testng-eclipse/issues/253, which set the default logging verbose log to 0 (means disabled)
you can install the latest beta of testng-eclipse if you don't want to wait for the release.
Upvotes: 1
Reputation: 3927
Try once by uninstalling the testng and reinstalling from marketplace.
Here is the steps to uninstall the testng plugin.
After uninstall close the eclipse and start eclipse freshly by cleaning.
Edit the eclipse.ini file located in your Eclipse install directory and insert -clean as the first line.
After that install testng from Help>>Market place.
Note: dont forget to update your eclipse.ini by removing added -clean otherwise it always start cleanly which will take some time.
Upvotes: 0