We use cruisecontrol as well, unfortunately our build scripts are complicated as hell, otherwise I'd paste them. But the general gist of it for some of our stuff might help. We do use rake tasks with optional arguments and report tests through ci_reporter which can be easily consumed by cc. I know that's slightly vague, but that's the general idea. I don't know if that helps or not, but yeah, a lot of it is working with the build team and just getting the rake task in, some possible additional parameters, and then the rest should be fairly simple.
Some of our older tests still use testsuites, but it's very similar. hth, Charley Baker blog: http://blog.charleybaker.org/ Lead Developer, Watir, http://wtr.rubyforge.org QA Architect, Gap Inc Direct On Fri, Jul 10, 2009 at 4:48 PM, Dylan <[email protected]> wrote: > > Thanks for the "help", but believe it or not I did think of a google > search. It is probably out there, but so far I have been unable to > find an easy way to just run a ruby script in cruise control's build > file (i.e. without creating extra files, like a rake file [or am I > required to have a rake file, even if its only to call one script? > These are questions google hasn't answered, for me at least], > installing a new build system, etc...). Merging the results is no > problem, but I'm just having trouble finding the best way to simply > run the test script. I'm sure the answer is incredibly simple and I'll > smack my forehead for not realizing it sooner, but I just haven't > found it yet. > > I understand that some people don't bother with the basics before > crying for help, and I understand that its not your job to go > gallivanting around the internet finding me answers, but I wasn't > asking that of you, all I was doing was asking a simple question: > "Does anyone know...?". Not "Go find me the answer!", nor was it a cry > for help, just a question. Your answer to that question was no, so why > not leave it at that? No need to add snarkyness to it. > > On Jul 10, 12:20 pm, Chuck van der Linden <[email protected]> wrote: > > On Jul 9, 10:58 am, Dylan <[email protected]> wrote: > > > > > Does anyone know of a good tutorial/step-by-step instructions for how > > > to integrate watir/ruby into a cruise control build cycle. I have 1 > > > xml output file (from ci_reporter) and I want my script to run after > > > the build and then integrate the xml results into the cruise control > > > output. Thanks! > > > > > -Dylan > > > > Did you try a web search? > > > > http://www.lmgtfy.com/?q=CruiseControl+Watir > > > > looks like some good stuff to be found from people who have done this > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to [email protected] Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/watir-general -~----------~----~----~----~------~----~------~--~---
