Skip to content
This repository has been archived by the owner on Aug 5, 2024. It is now read-only.

Create testdata file for CI #17

Open
robsavoye opened this issue Dec 30, 2023 · 2 comments
Open

Create testdata file for CI #17

robsavoye opened this issue Dec 30, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request high priority High Priority in-progress This issues is being actively worked on

Comments

@robsavoye
Copy link
Collaborator

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.

@robsavoye robsavoye added enhancement New feature or request high priority High Priority in-progress This issues is being actively worked on labels Dec 30, 2023
@robsavoye robsavoye self-assigned this Dec 30, 2023
@robsavoye
Copy link
Collaborator Author

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.

@robsavoye
Copy link
Collaborator Author

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request high priority High Priority in-progress This issues is being actively worked on
Projects
None yet
Development

No branches or pull requests

1 participant