<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<br><div><div>On Sep 8, 2008, at 12:35 PM, Dan North wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">2008/9/8 Jonathan Linowes <span dir="ltr">&lt;<a href="mailto:jonathan@parkerhill.com">jonathan@parkerhill.com</a>></span><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <div class="Ih2E3d"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> On 4 Sep 2008, at 18:55, Jonathan Linowes wrote:<br> <br> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> I'm just thinking out loud here...<br> 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.<br> Not sure how that'd work, maybe replace the Given's but leave the Whens and Thens?<br> </blockquote> <br> </blockquote> <br> <br></div><div class="Ih2E3d"> On Sep 5, 2008, at 3:11 PM, Matt Wynne wrote:<br> <br> </div><div class="Ih2E3d"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> Can you give us a concrete example of something that you're worried might go wrong?<br> </blockquote> <br></div> 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 this a user feature, eg via "Validate This Project" button</blockquote> <div><br>That sounds like it might be a useful feature to implement - say export project (and all its dependencies) and a corresponding import project feature. Then you could export a project from the production environment and have it as canned data to pre-populate your project scenarios. Also your users could then create offline backups of their projects.<br> <br>That would be specific to your application though, and not an rspec feature. Or am I missing something?</div></div></div></blockquote><div><br></div>right, i'm not looking for an rspec feature, just suggestions how to manage running against production data. Export/import utilities may be the way to go. Or maybe export to yaml, and run stories with those as fixtures?</div><div><br></div></body></html>