Testing databases with DBIx::Class
Aaron Trevena
aaron.trevena at gmail.com
Wed Jan 11 09:39:20 GMT 2012
On 10 January 2012 17:07, David Cantrell <david at cantrell.org.uk> wrote:
> On Tue, Jan 10, 2012 at 04:01:23PM +0000, the hatter wrote:
>> On Tue, 10 Jan 2012, Leo Lapworth wrote:
>> >A full dump of live is imported to dev every sunday, when we're running on
>> >a dev server
>> Except that if this includes personal data, and your customers didn't sign
>> up to agree to be test subjects, then it's a breach of data protection
>> laws to reuse data gathered for another purpose. A lot of companies do
>> this (either a full copy or some subset to make processing lighter) but
>> few have the right words in their statement.
>
> And even if you *do* have the right words, it's a Bad Idea. You don't
> want your tests to accidentally email your customers, for example
or auto-tweet from a random user, that happens to be an investor in
the company, that they had just watched a pretty lame film and suggest
it to their friends on twitter.. yes really, this actually happened :)
A.
--
Aaron J Trevena, BSc Hons
http://www.aarontrevena.co.uk
LAMP System Integration, Development and Consulting
More information about the london.pm
mailing list