How to run functional test

Dear all,
I want to know how to (only )run functional test for xwiki-platform.
The steps I followed:
1)first, I cloned xwiki-platform from github.
2)then I used maven to build xwiki-platform from source code.
mvn clean install -DskipTests=true -Dtest=none -DfailIfNoTests=false -Pdistribution
3)this step, i want to only run functional test.
I read https://dev.xwiki.org/xwiki/bin/view/Community/Testing#HBestpractices-1.
It said the functional tests are located in:
a)xwiki-platform-distribution/xwiki-platform-distribution-flavor/xwiki-platform-distribution-flavor-test.
b)files named *IT.java in different modules.

now I want to how to only run the functional tests.

Thanks.
wuxia

Hi, you go in the modules for which you wish to run its functional tests and execute “mvn clean install -Pintegration-tests”.

See https://dev.xwiki.org/xwiki/bin/view/Community/Building/#HUsingProfiles

Got it.
Thank you.