[
https://issues.jboss.org/browse/ARQ-1238?page=com.atlassian.jira.plugin.s...
]
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