You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org> on 2009/04/14 20:15:15 UTC
[jira] Closed: (TAP5-643) PageTester is using my applications
module as well as the test module supplied
[ https://issues.apache.org/jira/browse/TAP5-643?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Howard M. Lewis Ship closed TAP5-643.
-------------------------------------
Resolution: Won't Fix
Assignee: Howard M. Lewis Ship
You have control over this via the constructor. If you specify an app name that does not match your application module's class name, then the application module won't be loaded. You could even substitute a test module for your normal app module, and via @SubModule, easily include services and contributions common to both.
> PageTester is using my applications module as well as the test module supplied
> ------------------------------------------------------------------------------
>
> Key: TAP5-643
> URL: https://issues.apache.org/jira/browse/TAP5-643
> Project: Tapestry 5
> Issue Type: Bug
> Components: tapestry-test
> Affects Versions: 5.1.0.2, 5.1.0.3
> Reporter: Andy Blower
> Assignee: Howard M. Lewis Ship
>
> PageTester is using my applications module as well as the test module supplied on construction. There are several dispatchers and other things which are not relevant (and will not work) in a unit testing environment. All of our application tests that use PageTester now fail because of this, all we want to do is test the rendering of the page using our test modules which provide just enough scaffolding for rendering the page.
> I realise this is an 'improvement' that T5.1 has introduced, but it needs to be optional so I can specify my apps module only if I want it to be used or to test dispatchers etc. Without this we have many tens of developer hours worth of tests that are now useless.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.