[wildfly-dev] An integration test adding JBoss Module and running management commands?
Peter Palaga
ppalaga at redhat.com
Thu Dec 22 11:03:02 EST 2016
Thanks a lot, Kabir and Tomaž! PR sent
https://github.com/wildfly/wildfly/pull/9508 -- P
On 2016-12-15 12:22, Tomaž Cerar wrote:
> 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 at jboss.com
> <mailto:kabir.khan at 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 at redhat.com
> <mailto:ppalaga at 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 at lists.jboss.org <mailto:wildfly-dev at 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 at lists.jboss.org <mailto:wildfly-dev at lists.jboss.org>
> https://lists.jboss.org/mailman/listinfo/wildfly-dev
> <https://lists.jboss.org/mailman/listinfo/wildfly-dev>
>
>
More information about the wildfly-dev
mailing list