-
Feature Request
-
Resolution: Obsolete
-
Major
-
None
-
None
-
None
The general requirements would be:
- hook into existing lifecycle callbacks from server (after_render, request_destory)
- inject and assert on state during request in container
- we want this to happen during request so all state is still available (@RequestScope)
- assert on output on client side
- this limits the need for incontianer deps / packaging
Rough API idea/draft:
https://gist.github.com/1184904
If we can piggyback the ServerState Assertion object to 'any' HTML request, we should be able to reuse existing tools for client testing like htmlunit / selenium, but with incontainer assertions.
This could be JSFUnit 3+ combined with a Serlvet Extension.