Re: Test Suite thoughts

> On 10 Apr 2017, at 22:22, Phil Archer <phila@w3.org> wrote:
> 
> Good news - the vocabulary document already includes 12 examples, each of which is available in multiple serialisations (JSON-LD, TTL, NT, HTML and XML).

They did appear in an earlier version of the Vocab, but we took them out and suggested they appear now in the Best Practices [1].
But they still exist on github [2].

> First question - can someone kindly walk me through how these are being generated? I see tools in the directory. Can I start from any serialisation?

These are all hand-generated.

> Presumably, given that these files all exist, the plan is to include them as external files with the vocabulary document? That can certainly be done, with content negotiation all set up.

See [1].

> Turning to the Model document, it has a lot of examples - 27 in all. These have not yet been turned into discrete files AFAICT.

Is that what is preferred? (move the examples into separate file and import them into the html)

> I'll see if I can simplify that into something more readable but the my basic question is do the 27 examples in the model document and the 12 in the vocab document give a good spread and therefore can provide the basis of a test suite?


I think so…

Renato Iannella, Monegraph
Co-Chair, W3C Permissions & Obligations Expression (POE) Working Group

[1] https://github.com/w3c/poe/issues/88
 <https://github.com/w3c/poe/issues/88>
[ <https://github.com/w3c/poe/issues/88>2] https://github.com/w3c/poe/tree/gh-pages/vocab/examples <https://github.com/w3c/poe/tree/gh-pages/vocab/examples>


 <https://github.com/w3c/poe/issues/88>

Received on Tuesday, 11 April 2017 02:08:40 UTC