deltaspike-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gerhard Petracek <gpetra...@apache.org>
Subject Re: deltaspike set ProjectStage in unit test
Date Mon, 19 Oct 2015 15:34:36 GMT
hi,

that just works with ds-test-control.

with arquillian, you have to add
META-INF/apache-deltaspike.properties
to your test-package
-> content: org.apache.deltaspike.ProjectStage=Development

regards,
gerhard



2015-10-19 17:13 GMT+02:00 Dessie K <desmond.kirrane@gmail.com>:

> Hi,
>
> I'm using arquillian+junit and I want to set the ProjectStage
> to Development for a test.
>
> I've tried
> add ProjectStageProducer.setProjectStage(ProjectStage.Development);
>
> But the test still uses the Production stage.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message