W3C home > Mailing lists > Public > public-data-shapes-wg@w3.org > September 2016

Re: Test cases framework

From: Holger Knublauch <holger@topquadrant.com>
Date: Wed, 28 Sep 2016 09:29:50 +1000
To: "public-data-shapes-wg@w3.org" <public-data-shapes-wg@w3.org>
Message-ID: <1430fe44-5b9a-5cdb-14e2-9a3127184bf9@topquadrant.com>
Answering Mark, the process that I am using is already functional for 
everyone with tool support from TopBraid Composer (Free Edition) 5.2. 
Just place the test files into the workspace, open the Test Cases view 
and press the run button as described in 
http://datashapes.org/testcases.html

While I personally find this tool support and format very convenient 
(including the ability to create new tests with a single button click), 
I am of course too biased to promote or push this format further. 
However, it should be easy to write translators between the officially 
proposed test format and the one in the dash namespace. So if the WG 
officially decides on the format, I will provide such a translator 
because I'll need it myself.

Holger


On 28/09/2016 6:49, Jose Emilio Labra Gayo wrote:
> During today's meeting we were talking about the test-suite.
>
> My goal is to work on the test-suite once the spec seems to be more 
> stable. I am now working in a translator that will convert part of the 
> ShEx test-suite to SHACL. I hope to be able to provide this new 
> battery of tests in the next 2/3 weeks
>
> In principle, I was considering to maintain the structure of the 
> test-suite that had been approved by the WG some time ago.
>
> I think it would be better to keep that structure and to add more 
> tests following it...although if the WG considers that we should use a 
> different approach, maybe we should discuss it before doing more work 
> on it.
>
> Best regards, Jose Labra
>
>
> On Tue, Sep 27, 2016 at 5:51 PM, mark <markh@metarelate.net 
> <mailto:markh@metarelate.net>> wrote:
>
>     I haven't seen any further discussion on this topic.
>
>     I think it is a valuable thing to have a w3 maintained set of
>     validation cases
>
>     If no-one is actively using
>     https://github.com/w3c/data-shapes/tree/gh-pages/data-shapes-test-suite
>     <https://github.com/w3c/data-shapes/tree/gh-pages/data-shapes-test-suite>
>     I would support retiring this (onto a branch, so it's not lost) and
>     putting the current set of test cases from TopQuadrant into the W3
>     space
>
>     I am happy to help administer this if it is a useful approach.
>
>     Holger: If I stepped in to help, would you be happy to start from your
>     current test cases and link your development flow into W3 test cases
>     resources once it is functional?
>
>     Are there other implementations that we should consider contacting
>     directly to encourage them to use a new shared set of test resources
>     who would help drive the development and maintenance of these?
>
>     What would working group members make of this approach?
>
>     all the best
>     mark
>
>
>     On Mon, 5 Sep 2016 15:33:52 +1000
>     Holger Knublauch <holger@topquadrant.com
>     <mailto:holger@topquadrant.com>> wrote:
>
>     > Just to point out some work related to test cases for SHACL.
>     >
>     > The current library of (53) test cases that I am using to validate
>     > the TopBraid SHACL API can be found at
>     >
>     >
>     https://github.com/TopQuadrant/shacl/tree/master/src/test/resources/sh/tests
>     <https://github.com/TopQuadrant/shacl/tree/master/src/test/resources/sh/tests>
>     >
>     > The vocabulary, including tool support, is described here:
>     >
>     > http://datashapes.org/testcases.html
>     <http://datashapes.org/testcases.html>
>     >
>     > Who else has any test cases that are tracking the spec?
>     >
>     > The work on an official test cases format has been dormant:
>     >
>     >
>     https://github.com/w3c/data-shapes/tree/gh-pages/data-shapes-test-suite
>     <https://github.com/w3c/data-shapes/tree/gh-pages/data-shapes-test-suite>
>     >
>     > Is anyone still "driving" that format and the corresponding tests?
>     >
>     > Thanks,
>     > Holger
>     >
>     >
>
>
>
>
>
> -- 
> -- Jose Labra
>
Received on Tuesday, 27 September 2016 23:30:32 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:30:36 UTC