New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Method System.getProperty("java.io.tmpdir") returns 'C:\Windows' directory after update to testng 0.6.10 in Eclipse Java EE IDE for Web Developers #903
Comments
How is that a TestNG issue? |
To prove it's TestNG, here are the steps: |
@atassaad BTW, do you use maven to manage your java project? do you have any "argLine" configuration defined for maven-surefire-plugin or maven-failsafe-plugin in the pom.xml? |
I don't use maven in this test project.
and it's return
I can't see differences. Also adding string -Djava.io.tmpdir=%TEMP% to run configuration solve the problem with temp directory, but other Windows environment parameters problems stay on, for example Selenium Webdriver returns that exception when calling FirefoxDriver.quit():
With testng plugin 6.9.9 installed from http://beust.com/eclipse-old/eclipse_6.9.9.201510270734 i have no such problems. |
ok, let's try to narrow down the issue. |
My installation on that Windows machine is very simple: |
@missedone and java.io.tmpdir still returns *C:\Windows*
Next I tried a reverse situation: using testng 6.9.10 .jar files and install testng-eclipse plugin from http://beust.com/eclipse-old/eclipse_6.9.9.201510270734
So it looks like testng-eclipse plugin issue? |
Yes. it does seem to be an issue with the newer version of TestNG 6.10.xxx. I copied the TestNG features and plugins folders from my Mac's install and put them into my Windows PC eclipse installation. My mac was at version org.testng.eclipse_6.9.9.201510270734. And now everything is back to normal. |
hi guys, could you try the latest updated plugin, and report back |
@missedone |
Sorry this is a little late, but I just updated testing and I'd like to confirm that the new version works fine. |
When using TestNG after update it to 0.6.10 version with Eclipse IDE property "java.io.tmpdir" becomes to "C:\Windows"
Using
and
Microsoft Windows 10
For example this code:
returns
C:\Users\Andrey\AppData\Local\Temp\
but this one:
returns
C:\WINDOWS\
The text was updated successfully, but these errors were encountered: