[Rails-core] Re: Testing to prevent regression

2009-03-01 Thread Michael Koziarski
> Ok, I spent some time digging through commits and writing tests. The > tests I wrote actually don't have anything to do with reloading > because I couldn't find a recent commit that required any forking or > spawning to test. > >  http://github.com/Manfred/rails/commits/railties-tests > > Josh,

[Rails-core] Re: Testing to prevent regression

2009-02-25 Thread Chad Woolley
On Wed, Feb 25, 2009 at 4:25 AM, Manfred Stienstra wrote: > > Ok, I spent some time digging through commits and writing tests. The > tests I wrote actually don't have anything to do with reloading > because I couldn't find a recent commit that required any forking or > spawning to test. > >  http

[Rails-core] Re: Testing to prevent regression

2009-02-25 Thread Manfred Stienstra
Ok, I spent some time digging through commits and writing tests. The tests I wrote actually don't have anything to do with reloading because I couldn't find a recent commit that required any forking or spawning to test. http://github.com/Manfred/rails/commits/railties-tests Josh, can you point

[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