[
https://issues.apache.org/jira/browse/DELTASPIKE-785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14219236#comment-14219236
]
Mark Struberg commented on DELTASPIKE-785:
------------------------------------------
I've implemented a 2-staged lookup.
A first lookup will check for a "cdiTestRunnerConfig" property via
ConfigResolver (default of this value is "cdiTestRunnerConfig" again).
This value will be used to pick up property files (via PropertyLoader, thus you
can use many of them and use ordinals to tweak values) which will get feeded
into CdiContainer#boot(bootProperties).
> Make CdiTestRunner pick up container configuration from properties file
> -----------------------------------------------------------------------
>
> Key: DELTASPIKE-785
> URL: https://issues.apache.org/jira/browse/DELTASPIKE-785
> Project: DeltaSpike
> Issue Type: Improvement
> Components: TestControl
> Affects Versions: 1.1.0
> Reporter: Mark Struberg
> Assignee: Mark Struberg
> Fix For: 1.2.0
>
>
> For doing 'real' EE tests we need to be able to configure those containers
> when it boots up. CdiCtrl already has a boot(Properties) which we can use
> very easily.
> That way openejb-embedded, glassfish-embedded and wildfly-embedded can e.g.
> register DataSources for the unit tests.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)