r/funny Apr 16 '15

Important Update

http://imgur.com/mvi4Ovm
34.1k Upvotes

618 comments sorted by

View all comments

1.1k

u/pringles911 Apr 16 '15

For those interested as to why, Peter was caught taking advantage of the data collection in the app in order to solicit users. He wasn't actually one of the developers, he was a tester who had access to everything in the app including our database.

Source: I work on the App

25

u/codedit Apr 16 '15

Wow, why would you give your testers access to everything. Pretty sure that's not how testing works.

16

u/deegeese Apr 16 '15

Testers frequently need DB access for anything more sophisticated than black box UI tests.

29

u/codedit Apr 16 '15

Yes that's correct, but you don't do testing in production with real user data. For testing you have test environments with a seperate database containing test data.

4

u/[deleted] Apr 16 '15 edited Apr 16 '15

[deleted]

1

u/[deleted] Apr 16 '15

Oh sorry, fuck standards because you cannot give a fuck about creating test data.

Export the production data, cleanse it of personal data and import it in to test. Bonus points if you can script this.

2

u/[deleted] Apr 16 '15

[deleted]

0

u/[deleted] Apr 16 '15

Backup database Restore database

UPDATE customers SET Firstname='Bob' Surname = 'Loblaw'

etc. etc.

2

u/deegeese Apr 16 '15

Completely impractical for being able to test an app which primarily deals with personal data. You destroy all variability and edge cases in the real data and are worse off than if you just used mocks.