-
Notifications
You must be signed in to change notification settings - Fork 11
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
Nullpointer when generating test cases in 13.1.eap #41
Comments
Hi Khoulaiz, I tested it with an interface in my IntelliJ IDEA Ultimate 12.1.2, and was not able to reproduce the problem you are seeing. Are you using version 13? My method looks like this:
And my generated test looks like this: package com.tt.enterprise.resource.bidmaster.bidsheet; import org.testng.Assert; public class UT_BidSheetResource { |
Have you read the subject of this bug? :-) I think I had to disable a couple of plugins in 13.1.eap so they prolly changed something of the plugin interface. You can download the 13.1.eap here: http://confluence.jetbrains.com/display/IDEADEV/IDEA+13.1+EAP |
I saw it, but I did not know what eap means. I should have just looked it up. Have you used this plugin in 12? - just wanted to see whether it worked for you in 12. I looked at the code and everything (around the NullPointerException) looks fine. I think something internal to IntelliJ changed that caused this error. The company I work for will upgrade to ultimate 13 soon, so I can test it out and try to fix it. If you have time, please feel free to download the source code and try to figure it out yourself :) |
Used one @should annotation in an interface and pressed "generate test case" button.
Selectect testng as framework (which is available in the project as lib)
Got this after that step:
The text was updated successfully, but these errors were encountered: