[arquillian-issues] [JBoss JIRA] (ARQ-1238) Warp: declarative approach - @Inspect and @Observe
Lukáš Fryč (JIRA)
jira-events at lists.jboss.org
Tue Feb 19 06:08:57 EST 2013
[ https://issues.jboss.org/browse/ARQ-1238?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lukáš Fryč updated ARQ-1238:
----------------------------
Priority: Optional (was: Major)
> Warp: declarative approach - @Inspect and @Observe
> --------------------------------------------------
>
> Key: ARQ-1238
> URL: https://issues.jboss.org/browse/ARQ-1238
> Project: Arquillian
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: Extension - Warp
> Affects Versions: warp_1.0.0.Alpha2
> Reporter: Lukáš Fryč
> Priority: Optional
> Fix For: warp_1.0.0.Beta1
>
>
> {code:java}
> /**
> * Filters can be specified by annotation - then they will be applied in any
> * Warp execution where no other filter was specified.
> */
> @Observe(RequestToObserve.class)
> public void testFilterSpecifiedByAnnotation() {
> Warp
> .execute(clientAction)
> .verify(serverAssertion);
> }
> /**
> * Assertions can be specified by annotation - all specified assertions
> * will be used for all requests.
> */
> @Inspect({Inspection1.class, Inspection2.class})
> public void testSpecifyAssertionByAnnotation() {
> clientAction.action();
> }
> {code}https://github.com/arquillian/arquillian-extension-warp/blob/master/api/src/test/java/org/jboss/arquillian/warp/TestExecutionAPI.java#L150
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the arquillian-issues
mailing list