-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with LTS test packages 201-1 through 201-4 #27
Comments
These are intentionally invalid packages intended to confirm that the LMS rejects the package. See the comment, example at: https://github.com/adlnet/CATAPULT/blob/main/lts/pkg/src/201-1-iris-course-id.xml#L18 |
Ah, I see what you are saying, if the order of the checks is reversed then it could be for the other reason, but either way it has to be rejected which is really the pertinent thing to test. Why it is rejected is irrelevant from a conformance standpoint, it might be better from a usability of the test suite for specifically debugging an invalid LMS to improve that, but that's subjective. |
I believe the purpose of these particular packages was to valid the IRI checking of the LMS. The inclusion of a relative paths in a non-zipped package is checked elsewhere (in other packages). Thus it is not necessary to have 2 errors in a single package. |
I agree. A test should fail for one reason. |
There are two errors in the xml file.
a) The au IRI is invalid.
b) The url is invalid as it is a relative path that is not part of a zip package.
I don't think this is a good test of the LMS import. The LMS may reject the package for one reason or the other, so it is not a good test of the IRI validation.
The text was updated successfully, but these errors were encountered: