[
https://issues.jboss.org/browse/WFCORE-1128?page=com.atlassian.jira.plugi...
]
Kabir Khan updated WFCORE-1128:
-------------------------------
Description:
Currently the way to enable the AbstractSubsystemBaseTest testSchema() and
testSchemaOfSubsystemTemplates() tests is to override getSubsystemXsdPath() and
getSubsystemTemplatePaths().
Rather than making it explicit to turn on, it should be explicit to turn off.
Also the current way of doing this uses Assume.assumeTrue() to check if a test has
provided a schema file, which provides a lot of ignored test noise in the test output. If
the xsd should not be tested, methods should instead override testSchema() or
testSchemaOfSubsystemTemplates() and provide an empty implementation with a comment saying
why it is not important.
was:
Currently the way to enable the AbstractSubsystemBaseTest testSchema() and
testSchemaOfSubsystemTemplates() tests is to override getSubsystemXsdPath() and
getSubsystemTemplatePaths().
Rather than making it explicit to turn on, it should be explicit to turn off.
Improve the subsystem test schema test coverage
-----------------------------------------------
Key: WFCORE-1128
URL:
https://issues.jboss.org/browse/WFCORE-1128
Project: WildFly Core
Issue Type: Bug
Components: Domain Management
Affects Versions: 2.0.1.Final
Reporter: Kabir Khan
Assignee: Kabir Khan
Fix For: 2.0.2.Final (EAP 7)
Currently the way to enable the AbstractSubsystemBaseTest testSchema() and
testSchemaOfSubsystemTemplates() tests is to override getSubsystemXsdPath() and
getSubsystemTemplatePaths().
Rather than making it explicit to turn on, it should be explicit to turn off.
Also the current way of doing this uses Assume.assumeTrue() to check if a test has
provided a schema file, which provides a lot of ignored test noise in the test output. If
the xsd should not be tested, methods should instead override testSchema() or
testSchemaOfSubsystemTemplates() and provide an empty implementation with a comment saying
why it is not important.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)