From add on the fly, to using random data to saving seed data in DB (Link to the story in first comment)
After using seed data which resides in a baseline DB and restoring it when needed,
Now we’ve moved on to the next problem:
How to add data to ‘Six’ baselines, that’s right, one test which has to run on 6 different environments needs the same seed data
We have been adding seed data manually, but for 6 it’s not going to be easy
Since it does not have to be created just 6 times, but every time before we create the seed data on baseline, we test it by creating on the ‘restoring’ DB,
So the number jumps to ’12’ times
The few options we talked about to help with this:
– Use UI scripts to create seed data (for data which is simple)
– Improve the API automation and use it to create seed data, just like UI above
– Finally (which I don’t want to do AT ALL), create data to the DB directly
The last option has many problems, schema across versions is not the same, data creation is not the same, existing data might not be exactly same either..
The brainstorming is going on, but an interesting challenge to have.
#QsDaily #Automation #testdata