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