[
https://issues.apache.org/jira/browse/OWB-290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mark Struberg resolved OWB-290.
-------------------------------
Resolution: Fixed
After sleeping over it, I think that using the OpenWebBeansTestLifeCycle
directly is a much better way to go.
I will rollback my changes
> provide SPI for Servlet ContainerLifecycle for better testing support
> ---------------------------------------------------------------------
>
> Key: OWB-290
> URL: https://issues.apache.org/jira/browse/OWB-290
> Project: OpenWebBeans
> Issue Type: Improvement
> Components: Lifecycle
> Affects Versions: M3
> Reporter: Mark Struberg
> Assignee: Mark Struberg
> Fix For: M4
>
>
> Currently if one likes to use @SessionScoped, @ReqeustScoped, etc in a unit
> test, he needs to directly access our internal DefaultLifecycle with all it's
> dependencies.
> Therefore we should introduce an interface which provides methods to
> start/stop requests and sessions (maybe also conversations).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.