Nuxeo Core Developer Guide

Functional Testing

Updated: November 7, 2024

Using Nuxeo Tools for Functional Testing

Look at https://github.com/nuxeo/tools-nuxeo-ftest for instructions and samples.

Selenium Sample

You will have to create such a structure in your project:

ftest/selenium/
|-- assembly.xml (copied from tools-nuxeo-ftest/assembly.xml.sample)
|-- data (containing resources for your tests)
|-- pom.xml (copied from tools-nuxeo-ftest/pom.xml.sample)
`-- tests (containing Selenium HTML tests suites)

Then, run:

mvn integration-test -f ftest/selenium/pom.xml [-DnuxeoURL=http://otherURL/] [-Dsuites=...] -P[tomcat|jboss]

The results will be in ftest/selenium/target/ and named result-{yourSuiteName}.html.