Upload
phyllis-freeman
View
214
Download
0
Tags:
Embed Size (px)
Citation preview
…optimise your IT investments
Successful approaches for Test Data Management
Philip HowardResearch Director – Bloor Research
telling the Information Management storyConfidential © Bloor Research 2009 telling the right storyConfidential © Bloor Research 2012
Agenda
What is test data management?
What would you like from test data?
The options for creating test data
Important considerations
telling the Information Management storyConfidential © Bloor Research 2009 telling the right storyConfidential © Bloor Research 2012
What is TDM?
“The provisioning of the hayloft” by Herman Johannes van der Weele
telling the Information Management storyConfidential © Bloor Research 2009 telling the right storyConfidential © Bloor Research 2012
What is TDM for?
telling the Information Management storyConfidential © Bloor Research 2009 telling the right storyConfidential © Bloor Research 2012
What’s it all about?
Poor quality software costs
The earlier you find errors the less it costs to fix them
Thus you should test early and often
But: that requires that suitable data is available as often as you want to test
telling the Information Management storyConfidential © Bloor Research 2009 telling the right storyConfidential © Bloor Research 2012
What do you want from test data?
Data when you need it (supporting agile development)
No contention for resources
Test data that is representative of the real data
Test data that preserves the relationships that exist in the real data
Where appropriate, the ability to secure sensitive information
Minimal administrative requirement
Support for different sizes of dataset
telling the Information Management storyConfidential © Bloor Research 2009 telling the right storyConfidential © Bloor Research 2012
What is it you want 1?
telling the Information Management storyConfidential © Bloor Research 2009 telling the right storyConfidential © Bloor Research 2012
What is it you want 2?
“Bone of contention” by Nick Hunter
telling the Information Management storyConfidential © Bloor Research 2009 telling the right storyConfidential © Bloor Research 2012
What is it you want 3?
telling the Information Management storyConfidential © Bloor Research 2009 telling the right storyConfidential © Bloor Research 2012
What is it you want 4?
Conceptual view of a business entity
telling the Information Management storyConfidential © Bloor Research 2009 telling the right storyConfidential © Bloor Research 2012
What is it you want 5?
telling the Information Management storyConfidential © Bloor Research 2009 telling the right storyConfidential © Bloor Research 2012
What is it you want 6?
telling the Information Management storyConfidential © Bloor Research 2009 telling the right storyConfidential © Bloor Research 2012
What is it you want 7?
telling the Information Management storyConfidential © Bloor Research 2009 telling the right storyConfidential © Bloor Research 2012
Creating test data
1. Manual cloning or copying
2. Database subsetting
3. Synthetic generation
telling the Information Management storyConfidential © Bloor Research 2009 telling the right storyConfidential © Bloor Research 2012
Manual approaches
Require significant administrative effort
Require significant understanding of data structure and prone to error
Administration effort directly proportional to agility of testing environment
Tends to mean either:Multiple copies of data for each development/testing team
Which is expensive
Contention between teams for resources
Difficult to ensure that data is representative, that relationships are maintained and that data is secure
telling the Information Management storyConfidential © Bloor Research 2009 telling the right storyConfidential © Bloor Research 2012
Database sub-setting
Requires minimal administrative effort once set up
Understanding of data structures is automated
Reduces time to create test cases
Shrinks footprint for non-production environments
Can have different sized datasets for, say, unit vs integration testing
Tools available/built-in to ensure that data is representative, that relationships are maintained (ensuring referential integrity) and that data is secure
telling the Information Management storyConfidential © Bloor Research 2009 telling the right storyConfidential © Bloor Research 2012
Synthetic data generation
Requires full understanding of data structures
Apart from that, zero impact on production environment
Can re-generate data on demand
Data automatically secure
More complex in terms of understanding, compared to sub-setting, but required in some environments
telling the Information Management storyConfidential © Bloor Research 2009 telling the right storyConfidential © Bloor Research 2012
Important consideration: understanding the data
telling the Information Management storyConfidential © Bloor Research 2009 telling the right storyConfidential © Bloor Research 2012
Important consideration: refreshing the data
telling the Information Management storyConfidential © Bloor Research 2009 telling the right storyConfidential © Bloor Research 2012
Important consideration: data masking
telling the Information Management storyConfidential © Bloor Research 2009 telling the right storyConfidential © Bloor Research 2012
Masking requirements
telling the Information Management storyConfidential © Bloor Research 2009 telling the right storyConfidential © Bloor Research 2012
Conclusion
Manual methods of generating test data take too long, are too expensive, can’t ensure proper coverage, are inefficient for data masking and are not suited to agile environments
Test data needs to be representative, it needs to cover relevant cases, it needs to be quick and easy to refresh the data and you need sophisticated data masking capabilities
telling the Information Management storyConfidential © Bloor Research 2009 telling the right storyConfidential © Bloor Research 2012