Showing posts with label eclipse. Show all posts
Showing posts with label eclipse. Show all posts

Saturday, February 2, 2008

debugging grails unit tests in eclipse

found this in Groovy In Action page 528
Select Run -> Run, and create a new Java Application configuration. Set the
Project to be your current project, and select groovy.util.GroovyTestSuite as
the Main class.
Next, click the Arguments tab; in the Program Arguments box, include the
path to your Groovy script, as shown in figure 14.2.

It works! One strange thing is that the console view shows compiling ... which looks like it's not done compiling. I think that's because of the dynamic nature of groovy.

Just step and it looks like it works!

For a grails app, In the arguments box put path as test/integration/ or whatever path filename is.

Thursday, January 31, 2008

Got step debugging within eclipse working!!!

http://docs.codehaus.org/display/GRAILS/Eclipse+IDE+Integration

I got it working in the bookmarks app!!!

Still need to get the testing code working right though!

Tuesday, January 22, 2008

eclipse bug: Compute launch button tooltip

Is happening when I try to run grails apps. Not sure if it's related to testNG, but it started when I installed it