[Rails-core] Re: Testing to prevent regression

2009-02-24 Thread Manfred Stienstra
>>> That sounds like a job for forking. >> >> That makes accumulating the failures from the child process >> essentially impossible though, you'd end up with crazy output >> intertwined with the parent process. Well, let's just talk code shall we (: I'll write up some stuff and present it to th

[Rails-core] Re: Testing to prevent regression

2009-02-24 Thread Will Bryant
On Wed, Feb 25, 2009 at 4:59 PM, Michael Koziarski wrote: > >> That sounds like a job for forking. > > That makes accumulating the failures from the child process > essentially impossible though, you'd end up with crazy output > intertwined with the parent process. My assumption was that we woul

[Rails-core] Re: Testing to prevent regression

2009-02-24 Thread Michael Koziarski
> That sounds like a job for forking. That makes accumulating the failures from the child process essentially impossible though, you'd end up with crazy output intertwined with the parent process. -- Cheers Koz --~--~-~--~~~---~--~~ You received this message b

[Rails-core] Re: Testing to prevent regression

2009-02-24 Thread Will Bryant
On Wed, Feb 25, 2009 at 3:03 PM, Chad Woolley wrote: > The tricky part of this would be to ensure that the spawned > environment is identical to the current environment.  For example, > environment/rake variables, ruby interpreter being used, etc, etc. That sounds like a job for forking. --~--~

[Rails-core] Re: Testing to prevent regression

2009-02-24 Thread Chad Woolley
On Tue, Feb 24, 2009 at 12:41 PM, Manfred Stienstra wrote: > My first intuition is to spawn new Rails process from a test and see > if it behaves the way it should. I'll try to free up some time > tomorrow to give it a try. The tricky part of this would be to ensure that the spawned environment

[Rails-core] Re: Testing to prevent regression

2009-02-24 Thread Eloy Duran
That sounds like a plan. Thanks for the response. Eloy On 24 feb 2009, at 20:41, Manfred Stienstra wrote: > > > On Feb 24, 2009, at 8:36 PM, Joshua Peek wrote: > >> >> On Tue, Feb 24, 2009 at 1:19 PM, Eloy Duran >> wrote: >>> I've also been worried about the lack of testing present in some >>>

[Rails-core] Re: Testing to prevent regression

2009-02-24 Thread Manfred Stienstra
On Feb 24, 2009, at 8:36 PM, Joshua Peek wrote: > > On Tue, Feb 24, 2009 at 1:19 PM, Eloy Duran > wrote: >> I've also been worried about the lack of testing present in some >> commits lately. ActionPack, and especially the Rack related code, >> seem >> to lack lots of necessary testing. >>

[Rails-core] Re: Testing to prevent regression

2009-02-24 Thread Joshua Peek
On Tue, Feb 24, 2009 at 1:19 PM, Eloy Duran wrote: > I've also been worried about the lack of testing present in some > commits lately. ActionPack, and especially the Rack related code, seem > to lack lots of necessary testing. > Afaik the Rails policy used to be; have good test coverage or don't

[Rails-core] Re: Testing to prevent regression

2009-02-24 Thread Eloy Duran
Hi, I've also been worried about the lack of testing present in some commits lately. ActionPack, and especially the Rack related code, seem to lack lots of necessary testing. Afaik the Rails policy used to be; have good test coverage or don't commit. Has this been changed? Eloy On 18 feb

[Rails-core] [PATCH] Rake tasks for run engine migrations

2009-02-24 Thread Luca Guidi
This patch adds two tasks: * db:migrate:engines * db:migrate:engines:down The first one allows to run all the migrations stored in the db/migrate directory of each plugin. It runs migrations in the same order Rails::Initializer register the plugins, this means if you force an order by env