- From: Jose Emilio Labra Gayo <jelabra@gmail.com>
- Date: Thu, 2 Apr 2015 07:04:33 +0200
- To: Holger Knublauch <holger@topquadrant.com>
- Cc: RDF Data Shapes Working Group <public-data-shapes-wg@w3.org>
- Message-ID: <CAJadXXLZp8UdDtk1LGGX5GygWQOJArgLHKQ11KJa5SUK+pFoWw@mail.gmail.com>
In the last F2F, it was already resolved to employ a format similar to what the W3c has employed for other specifications like RDF. In fact, Dimitris and me were assigned the task to create the test-suite. We already started this web page that explains the format: http://w3c.github.io/data-shapes/data-shapes-test-suite/ However, we didn't add more tests because we were waiting until there were more consensus on the language constructs and the error messages of the validator. I would propose to start with simple tests for the more basic language constructs and to add gradually more tests. In any case, as you can see in the web page, the format of the manifest file allow us to signal the test status as proposed, accepted, etc. Best regards, Jose Labra On Thu, Apr 2, 2015 at 4:39 AM, Holger Knublauch <holger@topquadrant.com> wrote: > Could we start defining a format for our test cases? I have attached two > files illustrating a format that I used for a few test cases while writing > my prototype. Each test case consists of two parts: > > 1) A SHACL file including instances > 2) A manifest file declaring the tests to run and the expected output > > Both files are in Turtle, and the manifest file uses a simple ontology > that can be found at the end of > > http://w3c.github.io/data-shapes/shacl/shacl.shacl.ttl > > Of course this is just one possible format among many others, I welcome > alternatives. Yet I would like to point out that it may be beneficial to > have an RDF based exchange format of such test cases, because people may > maintain and publish the test cases together with their data models, as > linked data. > > Regards, > Holger > > -- -- Jose Labra
Received on Thursday, 2 April 2015 05:05:20 UTC