Re: [rspec-users] scenarios on production data

2008-09-09 Thread Matt Wynne
On 9 Sep 2008, at 14:54, Ashley Moran wrote: On 8 Sep 2008, at 17:21, Jonathan Linowes wrote: Here's one example: lets say my app is a specialized CMS, where account owners can setup their own projects, pages and forms. I'd like to run scenarios against setups that users have created. T

Re: [rspec-users] scenarios on production data

2008-09-09 Thread Ashley Moran
On 8 Sep 2008, at 17:21, Jonathan Linowes wrote: Here's one example: lets say my app is a specialized CMS, where account owners can setup their own projects, pages and forms. I'd like to run scenarios against setups that users have created. Thinking further, wouldn't it be neat to make thi

Re: [rspec-users] scenarios on production data

2008-09-08 Thread Tero Tilus
2008-09-05 16:10, Nick Hoffman: > I know what you mean about it feeling reassuring to know that your > tests/specs passed when run on production data. However, if your > specs, scenarios, tests, etc cover all behaviours, situations, edge > cases, etc, then you needn't worry. All is well. I think y

Re: [rspec-users] scenarios on production data

2008-09-08 Thread Tero Tilus
2008-09-05 16:50, Ashley Moran: > Every time someone asks me this my answer is always the same... > > Don't. I think I happen have a case where it would be plausible to run specs/stories against production data. I need a sanity checker to detect "data smells" of various magnitude from (a copy of

Re: [rspec-users] scenarios on production data

2008-09-08 Thread Jonathan Linowes
On Sep 8, 2008, at 12:35 PM, Dan North wrote: 2008/9/8 Jonathan Linowes <[EMAIL PROTECTED]> On 4 Sep 2008, at 18:55, Jonathan Linowes wrote: I'm just thinking out loud here... It could be useful to have a way to run scenarios on a copy of a fully populated production database, as an alternat

Re: [rspec-users] scenarios on production data

2008-09-08 Thread Dan North
2008/9/8 Jonathan Linowes <[EMAIL PROTECTED]> > On 4 Sep 2008, at 18:55, Jonathan Linowes wrote: >> >> I'm just thinking out loud here... >>> It could be useful to have a way to run scenarios on a copy of a fully >>> populated production database, as an alternative to normal use. >>> Not sure how

Re: [rspec-users] scenarios on production data

2008-09-08 Thread Jonathan Linowes
On 4 Sep 2008, at 18:55, Jonathan Linowes wrote: I'm just thinking out loud here... It could be useful to have a way to run scenarios on a copy of a fully populated production database, as an alternative to normal use. Not sure how that'd work, maybe replace the Given's but leave the Whens a

Re: [rspec-users] scenarios on production data

2008-09-06 Thread Scott Taylor
On Sep 5, 2008, at 3:11 PM, Matt Wynne wrote: On 5 Sep 2008, at 19:14, Jonathan Linowes wrote: it just seems to me that while i'm running my tests on toy data sets, it could be reassuring to see the same run on real production data. Or, maybe not. I agree its not real scientific, but neit

Re: [rspec-users] scenarios on production data

2008-09-06 Thread Matt Wynne
On 5 Sep 2008, at 19:14, Jonathan Linowes wrote: it just seems to me that while i'm running my tests on toy data sets, it could be reassuring to see the same run on real production data. Or, maybe not. I agree its not real scientific, but neither is the weather... :) (aka, shit happens)

Re: [rspec-users] scenarios on production data

2008-09-05 Thread Nick Hoffman
On 2008-09-05, at 14:14, Jonathan Linowes wrote: it just seems to me that while i'm running my tests on toy data sets, it could be reassuring to see the same run on real production data. Or, maybe not. I agree its not real scientific, but neither is the weather... :) (aka, shit happens)

Re: [rspec-users] scenarios on production data

2008-09-05 Thread Jonathan Linowes
On Sep 5, 2008, at 1:27 PM, Mark Wilden wrote: On Fri, Sep 5, 2008 at 9:11 AM, Jonathan Linowes <[EMAIL PROTECTED]> wrote: That is, if my stories run with my well controlled, relatively small setups, I'd like to ensure they run on a large, fully populated, somewhat 'random' set of real d

Re: [rspec-users] scenarios on production data

2008-09-05 Thread Mark Wilden
On Fri, Sep 5, 2008 at 9:11 AM, Jonathan Linowes <[EMAIL PROTECTED]>wrote: > That is, if my stories run with my well controlled, relatively small > setups, I'd like to ensure they run on a large, fully populated, somewhat > 'random' set of real data. If you think there are situations where that

Re: [rspec-users] scenarios on production data

2008-09-05 Thread Ben Mabey
Jonathan Linowes wrote: > > On Sep 5, 2008, at 11:50 AM, Ashley Moran wrote: > >> >> On 4 Sep 2008, at 18:55, Jonathan Linowes wrote: >> >>> I'm just thinking out loud here... >>> It could be useful to have a way to run scenarios on a copy of a >>> fully populated production database, as an alterna

Re: [rspec-users] scenarios on production data

2008-09-05 Thread Jonathan Linowes
On Sep 5, 2008, at 11:50 AM, Ashley Moran wrote: On 4 Sep 2008, at 18:55, Jonathan Linowes wrote: I'm just thinking out loud here... It could be useful to have a way to run scenarios on a copy of a fully populated production database, as an alternative to normal use. Not sure how that'd wo

Re: [rspec-users] scenarios on production data

2008-09-05 Thread Ashley Moran
On 4 Sep 2008, at 18:55, Jonathan Linowes wrote: I'm just thinking out loud here... It could be useful to have a way to run scenarios on a copy of a fully populated production database, as an alternative to normal use. Not sure how that'd work, maybe replace the Given's but leave the Whens

[rspec-users] scenarios on production data

2008-09-04 Thread Jonathan Linowes
I'm just thinking out loud here... It could be useful to have a way to run scenarios on a copy of a fully populated production database, as an alternative to normal use. Not sure how that'd work, maybe replace the Given's but leave the Whens and Thens? linoj