Replies: 2 comments 1 reply
-
I've incorporated some of your suggestions into the survey dictionary at (https://github.com/pds-data-dictionaries/ldd-survey/tree/tests/standardize-test-names). I think that you can do a little bit more with the collection names, as well. In this branch, I'm trying Additionally, I've added a README.md file to the test directory that specifies what each test does, so you can learn about all of the tests in a single centralized location. Putting a comment near the expected failure would still be a good idea. And so would putting a comment at the top of the file. |
Beta Was this translation helpful? Give feedback.
-
Wow, I was sure that the collection type had to be in the collection_id, but I can't find anything that supports that. In that case, |
Beta Was this translation helpful? Give feedback.
-
Inspired by our review of the namespaces, I suggest that we identify additions to the guidelines for creating test cases that are provided here:
https://pds-data-dictionaries.github.io/development/ldd-test.html
logical_identifier
) for test cases (test.xml
labels). The current examples in theldd-template
repo useurn:nasa:pds:bundle:collection:product
, but it seems useful to encourage stewards to use a different LIDVID for each test case, ideally something meaningful. One idea would beurn:nasa:pds:namespace_<namespace>:test:test_invalid_value_FAIL
for a test label named
test_invalid_valid_FAIL.xml
. Other thoughts/suggestions?.xml
filenames as specific as possible.xml
file indicating the purpose of the testldd-template
repo follow the guidelines.Relatedly, one of the example test cases provided in the
ldd-template
repo does not follow the current guidelines (to specify [IM_VERSION] instead of a specific information model version):https://github.com/pds-data-dictionaries/ldd-template/blob/main/test/test1_FAIL.xml
(unless this was deliberate in order to make it fail for other IM versions?). I can't seem to create an issue for the
ldd-template
repository, so I'm noting it here for @jordanpadams :) .Have you identified other good practices for test cases that we can/should share and adopt? Please add your comments here.
Beta Was this translation helpful? Give feedback.
All reactions