[
https://issues.jboss.org/browse/AS7-2530?page=com.atlassian.jira.plugin.s...
]
Miroslav Novak commented on AS7-2530:
-------------------------------------
Hi Aslak,
thanks a lot for resolving this feature request. I have a question to this cool feature.
Will be the given byteman rule submitted when test is annotated @RunAsClient? For
example:
{code}
@Deployment(testable=true)
public static Archive<?> createDeployment() {
return ShrinkWrap.create(WebArchive.class)
.addClasses(HornetQTestServlet.class)
.addAsWebInfResource("apps/servlets/hornetqtestservlet/web.xml",
"web.xml")
.addAsManifestResource(new StringAsset("Dependencies:
org.hornetq\n"), "MANIFEST.MF");
}
@Test @RunAsClient
@BMRule(
name = "rule", targetClass =
"org.hornetq.core.postoffice.impl.PostOfficeImpl", targetMethod =
"processRoute", action = "System.out.println("Hi, it's
working.");")
public void test() {
...
}
{code}
I can't get it work in this mode.
Thank you,
Mirek
Arquillian in AS7 is missing support for byteman
------------------------------------------------
Key: AS7-2530
URL:
https://issues.jboss.org/browse/AS7-2530
Project: Application Server 7
Issue Type: Feature Request
Components: Test Suite
Affects Versions: 7.1.0.Alpha1
Reporter: Miroslav Novak
Assignee: Aslak Knutsen
Priority: Blocker
Labels: arq_qe_blocker
Fix For: No Release
Hi,
I tried to implement test case which is using byteman but without success. It seems that
arquillian in AS7 doesn't have support for byteman. There are missing classes.
Example test case:
https://github.com/aslakknutsen/arquillian/blob/ARQ-348/frameworks/bytema...
Missing classes:
org.jboss.arquillian.framework.byteman.api.BMRule;
org.jboss.arquillian.framework.byteman.api.BMRules;
Do we have a way how to make it work?
Thank you,
Mirek
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira