[arquillian-issues] [JBoss JIRA] Created: (ARQ-578) Create a Extension for handling Server State assertion during normal Servlet/JSF requests

Aslak Knutsen (JIRA) jira-events at lists.jboss.org
Thu Sep 1 08:11:26 EDT 2011


Create a Extension for handling Server State assertion during normal Servlet/JSF requests
-----------------------------------------------------------------------------------------

                 Key: ARQ-578
                 URL: https://issues.jboss.org/browse/ARQ-578
             Project: Arquillian
          Issue Type: Feature Request
      Security Level: Public (Everyone can see)
            Reporter: Aslak Knutsen


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.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the arquillian-issues mailing list