-
Notifications
You must be signed in to change notification settings - Fork 40
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
Configuration of conformance class to represent the basic conformance class in the TestNG test and CTL test. #206
Comments
The solution should allow to have multiple basic conformance classes. |
I suggest adding an "optionality" parameter to each conformance class (test element) in the TestNG config file to indicate its optionality with respect to a conformity assessment. For example:
All conformance classes marked as "mandatory" constitute the minimal conformance criteria. Some specifications also stipulate recommendations that should be met; perhaps if any of these tests fail they could be flagged in the report as a warning. By default, a conformance class is optional. |
The optionality parameter for a conformance class shows up in the EARL report as a property of an earl:TestRequirement resource:
|
A "Basic" test in ISO 19105 is just an "initial capability test" that acts like a precondition. It doesn't necessarily mean that the test is traced to a mandatory requirement. The "optionality" property would have one of the following values:
In general, at least one conformance class (CC) is marked as "mandatory". But some OGC specs don't do this and just stipulate that one or more CCs in some set must be satisfied. Perhaps a different value can address this possibility.
|
@keshav-nangare, have you reviewed these comments from Richard? |
For TestNG test:
To represent the basic conformance class in TestNG test following configuration required into config.xml of the corresponding test:
Add following elements in the suite-element
As per the above configuration, it will add the isBasic attribute in the earl report.
For CTL test:
Add conformance class configuration attribute in the test element:
For example: <ctl:test name="getcapabilities:main" isConformanceClass="true" isBasic="false">
"isBasic": Represent the basic conformance class. Its value is 'true' iff that conformance class is basic otherwise 'false'.
The text was updated successfully, but these errors were encountered: