About MUTAT·Getting the Source·The Files·Change History·
MUTAT demos· QA Homepage· Latest News· QA Resources· QA IG· QA WG· QA Calendar·
MUTAT is a simple cgi script to demonstrate possible uses of EARL, and also use of RDF to configure an application. It is designed to help perform Quality Assurance evaluation tasks.
You can go straight to the demonstration page of the testing tool which has been updated to be more user-friendly.
You can also make a URI that calls it directly, such as http://www.w3.org/QA/Tools/MUTAT/bin/mutat?script_status=1&TEST_url=http://www.w3.org/QA/Tools/MUTAT/wcag.n3
QA experts have come up with a variety of solutions to handle entry and retrieval of the data they need - sometimes little more than a paper and pencil. The idea behind MUTAT was to demonstrate automating the process for human-centered testing, and output the results in EARL. The script presents the user with a series of questions: first a page of fill-in information on their identity and testing environment, and then the actual tests. The tests can be formatted either as a single page of text-based questions and links or a succession of framed HTML pages, with form inputs for the results. Both the initial information questions and the test questions are configured using an RDF file. There is also a feature that allows filtering of test questions.
The script uses the Ginger Alliance's RDF n3 parser. @@Is that still a sensible decision?
the code is available read-only, using the CVS server at W3C.
Set the CVSROOT parameter:
CVSROOT=:pserver:anonymous@dev.w3.org:/sources/public
with a unix shell (e.g bash) type :
me@myhost:~$ export
CVSROOT=:pserver:anonymous@dev.w3.org:/sources/public
.
Or see the documentation for your CVS client.
login :
me@myhost:~$ cvs login
(password:anonymous
).
checkout the module perl/modules/W3C/MUTAT
.
with a unix shell (e.g bash) type :
me@myhost:~$ cvs checkout perl/modules/W3C/MUTAT
You can also browse the corresponding CVS repository with your favorite browser.
The text file is now in RDF. Namespace can be found here. Right now the script only accepts files in n3, but there are tools to convert between formats. The easiest way to figure out what's going on is to look at the example file wcag.n3 above for examples of all the features. There is also a script to help automate creation of test files. @@Check out script, documentation.
Features to play with:
Add your own properties for the earl:Assertor or earl:TestSubject (change the domain to the proper value)
:thingy a rdf:Property; rdfs:label "myThingy"; rdfs:domain earl:TestSubject; rdfs:range rdfs:Literal .
Add default values to any property (sorry about the re-declaration)
earl:date a rdf:Property; rdf:value "Wed 13 Mar 2002" .
Add a limitless number of possible groupings to each TestCase to filter which bits you would like to see - declare like below and make up whatever values you'd like
:priority a td:GroupProperty; rdfs:label "priority" .
Declare testcases with any properties you'd like to be copied into the final report, even ones that aren't used by my script
:test01 a earl:TestCase ; rdfs:label "Test A"; :priority "C"; earl:id <HTTP: ATest.html Something www.w3.org> ; td:text "This statement is false." . :test02 a earl:TestCase ; rdfs:label "Test Frog"; :priority "Argh"; earl:id <HTTP: somewhere some.domain> ; td:text "My feet are green." .
Make up your own choices for results to override earl's passes/fails
:C a td:ResultProperty; rdfs:label "Complete"; earl:validity earl:Pass; earl:confidence earl:High .