Join GitHub today
Could not instiate Spec #917
Running mvn test on a clean vm or in travis yields:
for the first spec attempted and:
for all subsequent specifications. I can run the tests fine in IntelliJ and on the command line on my local machine, so I'm guessing there's some configuration cached somewhere, but so far I'm unable to determine what that would be. I can point you to our pom if that would be helpful as well.
Build tool version
Thank you for your help
Thank you for your response. The class is there, and the Groovy sources are being compiled correctly. I was able to determine that some environments weren't setting some environment variables, which was causing the NPE in initializing some fields on the type APISpec.
Even though I was able to determine this was our error, I think it would be a good idea to improve the error messages so that if an error like this NPE is hit in the initializing the spec, the line number of the error rather than the invoke method of the JunitRunner is displayed to the user.