...
Start Fedora with the following command
Code Block mvn jetty:run -Dfcrepo.external.content.allowed=fcrepo-http-api/src/test/resources/allowed_external_paths.txt -Dfcrepo.auth.webac.userAgent.baseUri=http://example.com/ -pl fcrepo-webapp/
Run the API-Test suite with the following command
Code Block java -jar target/testsuite-1.0-SNAPSHOT-shaded.jar -c config-local.yml
Where "config-local.yml" is something like the following
No Format default: rooturl: http://localhost:8080/rest/ root-controller-user-webid: http://example.com/fedoraAdmin root-controller-user-name: fedoraAdmin root-controller-user-password: fedoraAdmin permissionless-user-webid: http://example.com/testuser permissionless-user-name: testuser permissionless-user-password: testpass broker-url: tcp://127.0.0.1:61616 topic-name: fedora queue-name: testngxml: testng-local.xml implementation-name: Fedora implementation-version: 5.0.0-RC tomcat: rooturl: http://localhost:8080/fcrepo/rest/ root-controller-user-webid: http://example.com/fedoraAdmin root-controller-user-name: fedoraAdmin root-controller-user-password: secret3 permissionless-user-webid: http://example.com/testuser permissionless-user-name: testuser permissionless-user-password: password1 broker-url: tcp://127.0.0.1:61616 topic-name: fedora queue-name: testngxml: testng-local.xml implementation-name: Fedora implementation-version: 5.0.0-RC
Platform | Tested by | Results RC-2 (#pass,fail,skip) | Notes | ||||||
---|---|---|---|---|---|---|---|---|---|
Fedora Linux 27 | Total tests run: 220, Failures: 13, Skips: 16 | If using recommended config-local.yml above, you must either copy src/main/resources/testng.xml to ./testng-local.xml, or remove testngxml directive to use provided default testng.xml file. | |||||||
Ubuntu | Total tests run: 220, Failures: 13, Skips: 16 | ||||||||
Mac | Total tests run: 238, Failures: 44, Skips: 16 |
| |||||||
Mac | Danny Bernstein | Total tests run: 238, Failures: 12, Skips: 23 |
|
One-Click Run
cd fcrepo-webapp; mvn clean install -Pone-click
...
- Create resource
- Verify expected access privileges based on default (root) ACL
Platform | Tested by | Success? RC-2 | Notes |
---|---|---|---|
Simple read-only
- Create resource to protect
- Create ACL on protected resource (read-only)
- Create child of protected resource
- Verify expected access privileges on target and child
Platform | Tested by | Success? RC-2 | Notes |
---|---|---|---|
Simple read-write
- Create resource to protect
- Create ACL on protected resource (read/write)
- Create child of protected resource
- Verify expected access privileges on target and child
Platform | Tested by | Success? RC-2 | Notes |
---|---|---|---|
External Content
Create and verify all three modes of external content handling: proxy, redirect, copy
Handling (proxy,redirect,copy) | Platform | Tested by | Success? RC-2 | Notes |
---|---|---|---|---|
Database Tests
With Tomcat8 deployment, run above manual tests with alternate backend databases (Configuring JDBC Object Store)
...