<div dir="ltr"><div>There are many tests that do that.<br><br></div><div>for examples see ExtensionTestCase, WeldModuleDeploymentTestCase<br><br></div><div>and many others.<br><br></div><div>just look for string "module.xml" in whole testsuite...<br><br>--<br></div><div>tomaz<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Dec 14, 2016 at 5:50 PM, Kabir Khan <span dir="ltr"><<a href="mailto:kabir.khan@jboss.com" target="_blank">kabir.khan@jboss.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">For adding the module, look for usage of org.jboss.as.test.module.util.<wbr>TestModule<br>
<div class="HOEnZb"><div class="h5">> On 14 Dec 2016, at 15:50, Peter Palaga <<a href="mailto:ppalaga@redhat.com">ppalaga@redhat.com</a>> wrote:<br>
><br>
> Hi *,<br>
><br>
> I wonder if we already have an integration test that requires to add<br>
> some custom JBoss Module and to run some Management commands?<br>
><br>
> I'd like to add an integration test for<br>
> <a href="https://issues.jboss.org/browse/WFLY-7412" rel="noreferrer" target="_blank">https://issues.jboss.org/<wbr>browse/WFLY-7412</a> . I was able to do everything<br>
> I need using various Maven plugins (most notably WF Plugin and some<br>
> resource copying) in this test project: <a href="https://github.com/ppalaga/WFLY-7412" rel="noreferrer" target="_blank">https://github.com/ppalaga/<wbr>WFLY-7412</a><br>
><br>
> However, I am kinda hesitant to send my solution to WF code base,<br>
> because it looks too different from the usual Arquillian way of writing<br>
> itests.<br>
><br>
> Therefore, I am asking if anybody could perhaps point me to an<br>
> Arquillian (or any other existing) test in WF code base that runs<br>
> management commands, installs custom JBoss modules, deploys a simple<br>
> test app and then sends some HTTP requests against the container?<br>
><br>
> Thanks,<br>
><br>
> Peter<br>
> ______________________________<wbr>_________________<br>
> wildfly-dev mailing list<br>
> <a href="mailto:wildfly-dev@lists.jboss.org">wildfly-dev@lists.jboss.org</a><br>
> <a href="https://lists.jboss.org/mailman/listinfo/wildfly-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/<wbr>mailman/listinfo/wildfly-dev</a><br>
<br>
<br>
______________________________<wbr>_________________<br>
wildfly-dev mailing list<br>
<a href="mailto:wildfly-dev@lists.jboss.org">wildfly-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/wildfly-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/<wbr>mailman/listinfo/wildfly-dev</a><br>
</div></div></blockquote></div><br></div>