Nuxeo Core Developer Guide

Functional Testing

Updated: October 14, 2020

This page needs to be reviewed. Check back soon for updated content!

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.

We'd love to hear your thoughts!

All fields required