Hey guys,

I'm new to Buildr (and ruby in general) and am working on migrating our
build from Maven to something that is more expressive in terms of project
definition which is what drew us to Buildr. A couple of the necessary pieces
we need before switching are expanded TestNG support (like supporting
excluding/including by TestNG groups) and JSP pre-compilation (via tomcat6
jasper). Simple things, right?

Knowing little ruby when I started, I did managed to write a jsp precompiler
extension (available here: https://gist.github.com/921897). I'm sure this
code can be improved.

As for the TestNG functionality, trying to get exclusion via TestNG groups
(or any of the other cmd line options that TestNG allows) using the
properties hash didn't work as the param and value are added to the TestNG
runner as -D args instead of just as cmd line params. So, I forked the
buildr project on github and made a few small tweaks to the tests.rb to pass
along more parameters in the options array to the TestNG class. The change
basically shims more cmd line parameters onto the string for TestNG runner.

So my question is now, ok, I should probably test this -- like I mentioned,
I'm extremely green with ruby -- what's the next step (or steps) so I can
actually give some confidence (other than that we're actually running the
fork here) that the change works so that my pull request is actually looked
at for potential inclusion into the master branch? I'm a java guy and slowly
learning ruby and ruby testing is somewhat alien to me right now. But, I
think this functionality is useful (maybe I'm off-base, but we definitely
need it and TestNG definitely supports it), so I'd like to actually help out
here and contribute. I know the question is seemingly general (ruby
testing), but I'm trying to be targeted in asking, what needs to happen to
get the changes incorporated in the next version of Buildr? Am I going about
this all wrong and should I submit an issue instead?

Thanks,
Christopher
[email protected]
https://github.com/cacoco

Reply via email to