Conversation
Automated Review URLs |
|
@clbarnes can you check whether the state of this PR is how the testing scheme was originally intended? Or should it rather have superseded the Edit: Can see myself that tests are now duplicated. Could I just remove the |
|
Yes, the new single-file tests were intended to supercede the suite tests (as they're just the exact same tests, split out). I preferred to infer the validity of an example through its path (whether it's in the |
|
@clbarnes could you give this a short look for a thumbs up or down? The RFC5 PR #67 does some changes to this after all, but since it's unrelated to this, I thought it could make the review there a bit easier by merging this separately first. In #67, I ended up using the |
|
Sorry I didn't catch this earlier - the idea was for the testing to be handled by https://github.com/jo-mueller/ngff-spec/blob/expand-tests/conformance/ome_zarr_conformance.py#L109 , which looks specifically at the hierarchy from the root However, the conformance tests could (should?) include types of validation which can't be caught by JSON Schema, which means that it may not be the best tool for testing the JSON Schema itself. We could maintain a list of JSON Schema expected failures and compare it to the conformance tester output. |
|
@joshmoore @clbarnes I think this is good to go and will make the review of #67 a lot easier (#67 is based on this one). |
@clbarnes I think some of the testing functionality got lost along the way at some point when I made you rebase #26 a bunch of times. I noticed that the json files in the
attributes/zarrdirectories under tests were no longer executed, so that should fix this.