- From: Steve Speicher <sspeiche@gmail.com>
- Date: Sun, 20 Jul 2014 23:07:10 -0400
- To: "public-ldp-wg@w3.org" <public-ldp-wg@w3.org>
- Cc: Samuel Padgett <spadgett@us.ibm.com>
Received on Monday, 21 July 2014 03:07:37 UTC
In working with the small team on the LDP testsuite, we had the idea that it would be nice if we could annotate the spec with information from the testsuite. So one of the team members (thanks Sam) hacked it up and I have added the script to the current spec in Mercurial [1]. How to see it: There is a checkbox floating in top right under the ReSpec box, check it to see annotations. It will write a box around each spec requirement with different colored background, it also indicates the type of test (automated, manual, etc) and which test cases cover it. Quick check with Chrome and Firefox on my Mac worked as expected. How it works: Just a little JavaScript and CSS that reads in the EARL report JSON-LD test suite coverage manifest file[2]. Update the JSON-LD file, and the cover will be updated. This is just something hacked together for ldp.html but we found it very useful. As we work on the Paging spec, seems like it would be handy there as well. [1]: https://dvcs.w3.org/hg/ldpwg/raw-file/default/ldp.html [2]: https://dvcs.w3.org/hg/ldpwg/raw-file/default/tests/reports/ldp-earl-manifest-all.jsonld Enjoy, Steve Speicher http://stevespeicher.me
Received on Monday, 21 July 2014 03:07:37 UTC