You may have heard of code smells or even smelly test environments. But what about data smells? In this post, we look at the top smells that show you need test data management (TDM).
What Is a Smell?
In computer programming, a code smell is any characteristic in the source code that hints at a deeper problem. The term was popularised by Kent Beck on WardsWiki in the late 1990s. Deciding what counts as a smell is subjective. Even so, almost every IT problem shows symptoms long before it becomes a crisis.
Test data is no different. The smells below are the most common signs that your approach to test data management needs attention.
15 Smells That Show You Need Test Data Management
Time and Delivery Smells
- Testers spend more time creating data than testing the application.
- Creating test data is, or seems, too complicated or time-consuming.
- Test cycles and projects slip because the data isn’t ready.
- Teams depend on other experts, who have other priorities, to provide test data.
- There is little data reuse or automation, so teams keep reinventing the wheel and repeating mistakes.
Data Quality and Integrity Smells
- The data doesn’t meet testing requirements because it has the wrong mix of records.
- System data is incomplete or lacks integrity, which limits system testing.
- Upstream and downstream data isn’t prepared the same way, which breaks end-to-end integrity.
- Defects appear because data is in an unrealistic state, which leads to false positives.
- Testers keep reusing the same small data sets, so results clash and get corrupted (data contention).
Size and Performance Smells
- Test data is so large that refreshes take too long.
- Production-sized data causes performance bottlenecks and broken batch jobs in smaller test environments.
Security and Knowledge Smells
- Data copied from production still contains PII, so it is insecure.
- Testers and developers don’t understand what the platform data looks like, so they fumble in the dark.
- The data is so complex that testers can’t easily find the right data sets once they are deployed.
How to Clear the Air
If several of these sound familiar, start with the basics of test data management in software testing and how test data management works.
Next, cut size and risk. Data subsetting shrinks bloated copies, while PII masking removes sensitive values. In some cases, synthetic data is the better choice. Finally, make sure someone owns the problem by organizing a test data management team.
In Conclusion
Test data is an essential, if somewhat complicated and often ignored, part of effective DevOps and quality engineering. However, treating it as an afterthought will invariably produce the smells described above. In turn, those smells lead to suboptimal DevOps and DataOps practices, unwanted project delays and poor testing.
Do you know other test data management smells? Let us know.
Post By Jane Temov
Jane is an experienced IT Environments Management & Resilience Evangelist. Areas of specialism include IT & Test Environment Management, Disaster Recovery, Release Management, Service Resilience, Configuration Management, DevOps &Infra/Cloud Migration.


