ruby-rdf / rdf-ldp

A suite of LDP software and middleware for RDF.rb & Rack
The Unlicense
13 stars 2 forks source link

Run the LDP WG's Test Suite #6

Closed no-reply closed 9 years ago

no-reply commented 9 years ago

Added the basic report here: https://github.com/ruby-rdf/rdf-ldp/blob/develop/report/ldp-testsuite-execution-report.html

I'm getting a bunch of Java NullPointerErrors, and a few other issues. It's hard to separate things that are problems on our end and things that relate to the test suite and/or my Java version. Giving this more attention this week.

no-reply commented 9 years ago

The test suite is strongly opinionated that POSTing with the same slug twice creates two resources with two different URIs. https://github.com/w3c/ldp-testsuite/blob/816e98ae3360ec6945b0db6cd9cb246045e2b654/src/main/java/org/w3/ldp/testsuite/test/CommonContainerTest.java#L907-L927

I had assumed it would be nicer to fail with 409, since we are otherwise honoring slugs precisely. I don't know of anything in HTTP/REST or LDP (other than the test suite) which suggests this is disallowed. I'll need to follow up with the list on this.

no-reply commented 9 years ago

We are now passing for both Basic and Direct Containers.

There are a couple of issues submitted to the test suite repository: