<div dir="ltr">2008/9/8 Jonathan Linowes <span dir="ltr">&lt;<a href="mailto:jonathan@parkerhill.com">jonathan@parkerhill.com</a>&gt;</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&#39;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&#39;d work, maybe replace the Given&#39;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&#39;re worried might go wrong?<br>
</blockquote>
<br></div>
Here&#39;s one example: lets say my app is a specialized CMS, where account owners can setup their own projects, pages and forms. I&#39;d like to run scenarios against setups that users have created. Thinking further, wouldn&#39;t it be neat to make this a user feature, eg via &quot;Validate This Project&quot; 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?<br><br>Cheers,<br>Dan<br></div></div><br></div>