With Kubernetes, it is relatively easy to deploy a lot of software, including software made of many components, as in typical microservice architectures. However, data is much less dynamic. There are different ways to generate and maintain test data. Different tactics of test data management are appropriate for different types of end-to-end tests. Let's look into synthetic data, manual test data, and production snapshots.
Managing test data
Synthetic data
Synthetic data is test data that you generate programmatically. The pros and cons are as follows:
- Pros:
- Easy to control and update because it is generated programmatically
- Easy to create bad data to test error handling
- Easy to create a lot of data
- Cons:
- You have...