-
Type: Improvement
-
Status: Open
-
Priority: Minor
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: QualifiedToSchedule
-
Component/s: Tests
-
Epic Link:
-
Tags:
There are additional functional tests besides UI tests that might be useful to run on a remote server:
- server tests (rest api functional tests) https://github.com/nuxeo/nuxeo/tree/master/nuxeo-distribution/nuxeo-server-tests)
- CMIS tests (CMIS rest https://github.com/nuxeo/nuxeo/tree/master/nuxeo-distribution/nuxeo-server-cmis-tests)
- Gatling tests (perf scenarios) https://github.com/nuxeo/nuxeo/tree/master/nuxeo-distribution/nuxeo-server-gatling-tests
- Hotreload tests https://github.com/nuxeo/nuxeo/tree/master/nuxeo-distribution/nuxeo-server-hotreload-tests
Other tests in the same folder are probably not interesting for cloud deployments (static war and wizard)
Note more rest api tests will come with NXP-27011
Sample way to launch server-tests:
$ cd nuxeo/nuxeo-distribution/nuxeo-server-tests
$ mvn clean test-compile
$ mvn -o org.apache.maven.plugins:maven-failsafe-plugin:integration-test -Dwebdriver.firefox.bin=/home/anahide/src/ff-42/firefox -DnuxeoURL=https://nightly.nuxeo.com/nuxeo/
NB: FF 42 is expected for these tests, currently
Note some tests might not be relevant depending on the use case or might need to be adapted – typically server tests are not expecting any UI to be present, and there are some failures like:
2019-09-12 18:49:15,846 [main] ERROR [LogTestWatchman] Test 'org.nuxeo.ftest.server.ITOAuth2Test#testAuthorizationDenied' failed org.junit.ComparisonFailure: expected:<http[://localhost:8080]/nuxeo/home.html> but was:<http[s://nightly.nuxeo.com]/nuxeo/home.html>
- is related to
-
NXP-27011 REST API Compatibility Tests
- In Progress