Open robsavoye opened 8 months ago
To really create test data, the program that imports from Tasking Manager needs to fully work. Once all the tables in the new schema are populated, then data can be extracted to make test data. Some filtering will be required.
Now that I can import data from the existing TM database into the new schema, I got started on this. Rather than a big SQL dump, since we need to test inserting records anyway, the test data is created in each test case. It's easier to maintain this way being in the code being tested.
For CI to work in github, this project needs a canned data extract from a working tm-admin database. Just to be paranoid, this data shouldn't contain any private data like user's email addresses, etc.. Nothing is required to be valid in the "real world", as long as the test cases match.