Closed kelle closed 5 months ago
The integrity tests from SIMPLE could be a good inspiration: https://github.com/SIMPLE-AstroDB/SIMPLE-db/blob/main/tests/test_integrity.py#L392
Thinking about: every table should have a test.
Every table should have 1-2 entries. There will be things to test.
Try to avoid duplicating tests that are already enforced in the schema?
Do coordinates make sense?
Duplication? Unused-edness? Missingness? Validity?
Every source needs a name?
Empty strings?
Query simbad — aliases?
Magnitudes make sense?
For columns with "adopted" — only one adopted?
Now testing that strings are validated (#32)!
Split this up into multiple issues (#46, #47, #48, #49, #50, #51, #52, #53, #54)
Even though it's early still, I think it's time to start making some tests!