[jboss-jira] [JBoss JIRA] (WFLY-5658) Improve the subsystem test schema test coverage

Kabir Khan (JIRA) issues at jboss.org
Mon Nov 16 17:35:00 EST 2015


     [ https://issues.jboss.org/browse/WFLY-5658?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kabir Khan updated WFLY-5658:
-----------------------------
    Git Pull Request:   (was: https://github.com/wildfly/wildfly-core/pull/1250)


> Improve the subsystem test schema test coverage
> -----------------------------------------------
>
>                 Key: WFLY-5658
>                 URL: https://issues.jboss.org/browse/WFLY-5658
>             Project: WildFly
>          Issue Type: Bug
>          Components: Domain Management
>    Affects Versions: 10.0.0.CR4
>            Reporter: Kabir Khan
>            Assignee: Kabir Khan
>             Fix For: 10.0.0.Final
>
>
> 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)


More information about the jboss-jira mailing list