Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

make tests easier to run and re-run, add instructions

#15

right now the process for running tests is to open a console and run

rake db:populate RAILS_ENV=test
./script/server -e test

and then build and run the tests and look at the output in the debugger console

The ideal, I think, would be able to just build and run the target, which will take care of the rails server setup and running.

As an added bonus, it would be nice if we could see the output in a dedicated result window, rather than in the debugger console, but that might be pie in the sky wishing.

Reported by Joshua Vickery · January 21st, 2009 @ 08:31 AM

State: resolved
Assigned to: jjburka jjburka

Activity

  1. Joshua Vickery
    Joshua Vickery
    • Milestone set to ObjectiveResource 1.0

    January 26th, 2009 @ 08:27 AM

  2. Joshua Vickery
    Joshua Vickery
    • Assigned user set to Joshua Vickery

    January 26th, 2009 @ 06:05 PM

  3. Ryan Daigle
    Ryan Daigle

    (from [5ba7166f36c15ea93ac59cfb02938282c9ef8496]) [#15 make tests easier to run and re-run, add instructions] have build script run test server and prepare the db

    update README to include info on running tests http://github.com/yfactorial/obj...

    January 28th, 2009 @ 04:35 PM

  4. Joshua Vickery
    Joshua Vickery
    • Assigned user changed from Joshua Vickery to jjburka

    this is done. the only problem is that you need to manually kill the server

    January 28th, 2009 @ 04:47 PM

  5. Ryan Daigle
    Ryan Daigle

    (from [03c1a929d235dce26fadd031feacd440113f4405]) [#15 make tests easier to run and re-run, add instructions] server is now killed if it is running, migrations are run as well http://github.com/yfactorial/obj...

    January 29th, 2009 @ 01:37 PM

  6. jjburka
    jjburka
    • State changed from new to resolved

    February 3rd, 2009 @ 09:17 AM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.