[jboss-jira] [JBoss JIRA] (WFCORE-1054) Better subsystem test coverage
Brian Stansberry (JIRA)
issues at jboss.org
Thu May 19 23:16:06 EDT 2016
[ https://issues.jboss.org/browse/WFCORE-1054?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Stansberry updated WFCORE-1054:
-------------------------------------
Fix Version/s: 3.0.0.Alpha2
(was: 3.0.0.Alpha1)
> Better subsystem test coverage
> ------------------------------
>
> Key: WFCORE-1054
> URL: https://issues.jboss.org/browse/WFCORE-1054
> Project: WildFly Core
> Issue Type: Feature Request
> Components: Domain Management
> Reporter: Kabir Khan
> Assignee: Kabir Khan
> Fix For: 3.0.0.Alpha2
>
>
> The subsystem and core-model tests should be expanded to test FULL models. In many(?) cases these tests do not use a full xml. We should generate a full xml file for testing, possibly by using the schema. Or by inspecting the resource registrations a bit similar to the ExpressionSupportTestCase.
> We might need something to deal with the case where e.g. a parent expects only one of two children to be set (i.e. there is a choice) and not both. In those cases it would be good to be able to test all possible permutations. This testing should be at least the parsing and marshalling of the main model. It is uncertain whether it will be possible to do do transformers, although perhaps we could do something like the DomainAdjusters from the mixed domain tests.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list