-
Notifications
You must be signed in to change notification settings - Fork 69
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
Review of some Test-Cases regarding 0.9.6 release #194
Comments
I believe 1), 2) & hopefully 5) are getting fixed up in #192 (comment)
|
Hi @MarcelStepien, can I ask you to review this in light of the the changes committed to #240? |
@CBenghi I will be able to provide an overview of the state of test-cases once we converted all to the newer version of IDS. |
Update of the review in retrospect to the latest IDS version.
This should work now, since the cardinality can now be provided for Attributes.
The testcase does not exist anymore.
Testcases has been fixed.
Testcase has been fixed.
The min- and maxOccurs has been replaced with an enumeration "cardinality" that distinguish between PROHIBITED, REQUIRED and OPTIONAL. Therefore, this is fixed. |
In regard to the 0.9.6 release I would like to make some comments regarding findings in the test-cases, specifically for tests concerning the Attribute- and Classification-Facet.
1) Attribute-Facet Test-Case:
This test-case lost its meaning, since the attribute-facet no longer contains min- and maxOccurs to represent the prohibited constraint.
2) Attribute-Facet Test-Case:
This test-case lost its meaning, since the attribute-facet no longer contains min- and maxOccurs to represent the optional constraint.
There are certainly more cases for the attribute-facet that has to be reviewed based on the now missing min- and maxOccurs. The here listed cases are certain to now be broken.
3) Classification-Facet Test-Case:
The IFC for both classification tests are containing exactly two IFCWALL entities. One is compliant with the IDS, the other is not. This results in a failed check for the specification, not meeting the pass requirement of the test-case. To fix this, I would simply rename the following entity to fix the test-cases:
If not renaming the failing wall entity, it has to have a valid classification to resolve successful.
4) Classification-Facet Test-Case:
This test-case tries to utilize a simpleValue constraint as if it is a regular expression. A simpleValue should remain a check for equivalence. To create a check that allows creating a "starts with" constraint, such as for EF_25_10 resolving successfull for EF_25_10_25 and EF_25_10_30, a RegEx pattern can be formulated and should be used instead, like this:
I addition to that, the simple check for 2 or 22 as classification value does not comply with the description of the test-case.
5) All Test-Case:
It has to be noted, that all test cases currently use min- and maxOccurs with the values [1, 1]. In the documentation it is explicitly stated, that only combinations resulting in prohibited, optional and required are allowed. So, the combination [1, 1] for min- and maxOccurs is invalid!
The text was updated successfully, but these errors were encountered: