[rspec-users] mystery problem with svn post-commit script running rspec tests

Joe Van Dyk joevandyk at gmail.com
Sat Jun 9 03:56:17 EDT 2007

Oh, this is a Rails project, by the way.

Do the specs mess around with stdout or stderr?


On 6/9/07, Joe Van Dyk <joevandyk at gmail.com> wrote:
> So, just spent seven straight hours on this.
> I have a post-commit svn script that runs all my tests.  Emails me if
> something goes wrong.
> One of the lines looks like:
>   @output = `rake test RAILS_ENV=test`
> The output from the rspec tests don't seem to appear in @output.  Why
> would that be?  Oddly enough, that only seems to happen when the
> script is ran from svn's post-commit hook.  When I run the script
> manually, the rspec test results show up in @output.
> Joe

More information about the rspec-users mailing list