Nuxeo Core Developer Guide

Functional testing

Updated: October 22, 2018 Page Information Edit on GitHub

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.

2 months ago manonlumeau NXDOC-1650 fix about integrating changes, add mention on multiple attempts
2 years ago Manon Lumeau 5 | emove children display macro
3 years ago Ronan Daniellou 4 | Fixes layout + adds Nuxeo TOC
7 years ago Anahide Tchertchian 2
7 years ago Anahide Tchertchian 3 | Migrated to Confluence 4.0
8 years ago Julien Carsique 1
History: Created by Julien Carsique

We'd love to hear your thoughts!

All fields required