You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org> on 2014/08/28 03:04:24 UTC
[jira] [Closed] (TAP5-918) Add mocks to registry with lifecycle for
testing
[ https://issues.apache.org/jira/browse/TAP5-918?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Howard M. Lewis Ship closed TAP5-918.
-------------------------------------
Resolution: Won't Fix
This could be resurrected if a patch with tests was supplied. I think it is a good idea, but there is insufficient committer resources to proceed.
> Add mocks to registry with lifecycle for testing
> ------------------------------------------------
>
> Key: TAP5-918
> URL: https://issues.apache.org/jira/browse/TAP5-918
> Project: Tapestry 5
> Issue Type: New Feature
> Components: tapestry-ioc
> Reporter: Adriaan Joubert
>
> For tests that use the IoC registry it would be nice to be able to override an existing binding so that the registry will return a Mock object from a test.
> This also requires a lifecycle that can deal with objects being recreated for successive tests for both singleton and per-thread services. This will presumably require overriding the scope on an existing service binding.
--
This message was sent by Atlassian JIRA
(v6.2#6252)