solid-spec icon indicating copy to clipboard operation
solid-spec copied to clipboard

provide these specs as integration tests

Open err0r500 opened this issue 5 years ago • 6 comments

Hi,

Do you think it would be feasible to have a set of tests running against a "real" server in order to confirm it respects the specs ?

It's not the most convenient/fastest way to test but It would allow new implementations in any language (and a way to propagate issues discovery to any of them).

Just an idea but, as a go developper, it would be really useful in order to contribute to gold.

Best,

err0r500 avatar Oct 02 '18 16:10 err0r500

Yes, I think we should have that as a very high priority after the release of v5.0.0, but it is still subject to resource planning within Inrupt to see if we take that on.

kjetilk avatar Oct 02 '18 16:10 kjetilk

Ok, actually I realize the main solid README refers to

A test suite for testing and validating Solid implementations.

... so the idea may not be new :)

err0r500 avatar Oct 02 '18 19:10 err0r500

We need test suites generally for:

  • [ ] Solid Server
  • [ ] Solid Apps

The "solid specs" (standards, protocols, vocabularies, formats, practices...) reuse existing stuff eg. LDP, WAC/ACL. The Test Suite would refer to corresponding specs eg. LDP Test Suite https://w3c.github.io/ldp-testsuite/

csarven avatar Jan 28 '19 01:01 csarven

This though I think is the issue about the server tests which test any solid server implementation completely from the outside, so independent of implementation. Then we could immediately point it at NSS and Virtuoso and also Gold to see how far behind it is, and of course any new implementations in new languages. Definitely an important part of the ecosystem.

timbl avatar Jan 28 '19 12:01 timbl

Indeed! I'll have a go at it as soon as I have head above water.

kjetilk avatar Jan 28 '19 12:01 kjetilk

@timbl If I understand you correctly, I've misread this issue. So, what I'm saying while has some overlap with the server/unit? tests, it is about conformance with other specs. Created https://github.com/solid/solid-spec/issues/135 . I hope that sufficiently distinguishes things.

csarven avatar Jan 28 '19 12:01 csarven