ratpack devleopment workflow

classic Classic list List threaded Threaded
3 messages Options
Mac
Reply | Threaded
Open this post in threaded view
|

ratpack devleopment workflow

Mac
Hi,

I was wondering if any of the ratpack commiters have tips on development workflow.

Currently in my fork of ratpack, I'm producing snapshot jar to my local directory,
and then playing around with the changes that way.

I was curious if there is a more efficient workflow you guys are using. I didn't see anything in
 CONTRIBUTING.md, so I figure I ask here.

Thanks,
Reply | Threaded
Open this post in threaded view
|

Re: ratpack devleopment workflow

Luke Daley
Administrator
I usually just experiment with tests and run/debug them from the IDE to experiment.

It’s very easy to write small applications and test them with RatpackGroovyDslSpec. 

Another option, if you’re using an IDE, is to just put a main class in the module you are working on and start an app to play with using EmbeddedApp in your main method.
rus
Reply | Threaded
Open this post in threaded view
|

Re: ratpack devleopment workflow

rus
In reply to this post by Mac
I used to do what you're doing, still do sometimes, but mainly rely on tests.  It's so easy to write integration tests with the embedded app support I rarely do anything else.  Although I did use the local snapshot approach to double check the SSE support with a real browser.