Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. 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/


  2. Run the API-Test suite with the following command

    Code Block
    java -jar target/testsuite-1.0-SNAPSHOT-shaded.jar -c config-local.yml


    1. 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: 
        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: 
        implementation-name: Fedora
        implementation-version: 5.0.0-RC



PlatformTest Suite VersionTested byResults RC-2 (#pass,fail,skip)Results RC-3 (#pass,fail,skip)Notes
Fedora Linux 27
a40ce88
f3dd201

Total tests run: 238, Failures: 12, Skips: 23

Total tests run: 238, Failures: 12, Skips: 23

Ubuntu

Total tests run: 220, Failures: 13, Skips: 16



Mac 10.14

Total tests run: 238, Failures: 44, Skips: 16


View file
nametestsuite-execution-report.html
height150
View file
nametestng-local.xml
height150
View file
nameconfig-local.yml
height150

Mac OSX 10.13.6a40ce88Danny BernsteinTotal tests run: 238, Failures: 12, Skips: 23

View file
nameFedora API Test Suite Report.pdf
height250

One-Click Run

cd fcrepo-webapp; mvn clean install -Pone-click

...