W3C home > Mailing lists > Public > public-csv-wg@w3.org > November 2014

CSVW Test Harness

From: Gregg Kellogg <gregg@greggkellogg.net>
Date: Sat, 29 Nov 2014 11:52:10 -0800
Message-Id: <0609B03F-B855-4550-89B2-A9FAE518E9DC@greggkellogg.net>
To: W3C CSV on the Web Working Group <public-csv-wg@w3.org>
I've created an initial version of the CSVW test harness [1]. This is similar to the online test runner used for RDFa [2], but uses AngularJS for the web application, and is substantially simpler.

Right now, the only configured processor is "Reflector", which simply loads the expected results and compares it with itself. However, it should work with an arbitrary processor. Note that the test manifest loaded is one Andy and I created some time ago, and the actual tests will change as we move forward.

Tests and manifest are loaded from GitHub dynamically, but we will likely need to change this to run from the harness itself, so that we can control HTTP headers.

For now, the repository is at [3]. It could simply be folded into the existing CSVW site on GitHub, and a new instance run from there.

Note that both RDFa and JSON-LD groups used such a site for more than just running test suites, including general information, links to documents, and a playground for testing formats. We could do the same, but for right now, the site is limited to just the test harness.

Also, it could use a better name! This is simply a randomly-generated name provided by heroku. A W3C subdomain could potentially point here, or we could do something else.

The site is built using Ruby/Sinatra and AngularJS. It is pretty generic, and could be used for similar tests (such as the existing RDF test suites) with fairly minor modifications.

Suggestions, comments, bug reports are welcome.

Gregg Kellogg
gregg@greggkellogg.net

[1] https://floating-sands-3222.herokuapp.com
[2] http://rdfa.info/test-suite/
[3] https://github.com/gkellogg/csvw-test
Received on Saturday, 29 November 2014 19:52:41 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:27:45 UTC