Hi Amalka, You can control test execution from surefire plugin level. We exclude UI tests from regular builds by introducing maven property -DskipUitests and set it to "true" in default build. You can use the same approach for AF, please refer ESB pom file at [1] to check usage.
Another alternative is introducing maven profile to run tests. Thanks, Krishantha. [1] https://github.com/wso2-dev/product-esb/blob/master/modules/integration/tests-ui-integration/tests-ui/pom.xml On Wed, Sep 24, 2014 at 8:42 PM, Dimuthu Leelarathne <[email protected]> wrote: > Hi Amalka, > > Having the parent pom is orthogonal to being able to run the integration > test independently. This is because in Maven parents can have unknown > children. Only the child pom needs to know about the parent pom. It is good > to include the parent pom to eliminate repetitions. > > thanks, > dimuthu > > > > On Wed, Sep 24, 2014 at 7:48 PM, Amalka Subasinghe <[email protected]> > wrote: > >> Hi, >> >> I have added test framework to the App Factory, in a way to run the >> integration module as a separate module. >> (added all the required dependencies to the pom file, which is under the >> integration folder, and removed the parent tag from it [knowing this is not >> the best practice]. So we can separately run the platform tests on the App >> Factory setup and it will not execute in the build server.) >> >> What is the correct way to do this? >> >> Thanks >> Amalka >> >> >> _______________________________________________ >> Dev mailing list >> [email protected] >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > Dimuthu Leelarathne > Architect & Product Lead of App Factory > > WSO2, Inc. (http://wso2.com) > email: [email protected] > Mobile : 0773661935 > > Lean . Enterprise . Middleware > -- Krishantha Samaraweera Senior Technical Lead - Test Automation Mobile: +94 77 7759918 WSO2, Inc.; http://wso2.com/ lean . enterprise . middlewear.
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
