Could I have HTML output?
I am considering implementing a converter to convert JSON to HTML.
But I have a question about the format.
I have 3 test cases in 2 groups.
Harness.start({
group : 'project',
items : [ {
url : 'tests/signin/signin_up_owner.t.js'
}, {
url : 'tests/project/project_CRUD.t.js'
}
]
}, {
group : 'problem',
items : [ {
url : 'tests/problem/problem_CRUD.t.js'
} ]
}
);
{
"testSuiteName":"",
"startDate":"2014-04-23T13:50:29.174Z",
"endDate":"2014-04-23T13:51:07.736Z",
"passed":false,
"testCases":[
{
"type":"Siesta.Result.SubTest",
"name":null,
"startDate":1398261030697,
"endDate":1398261044180,
"passed":false,
"url":"tests/signin/signin_up_owner.t.js",
"assertions":[
{
"type":"Siesta.Result.Assertion",
"passed":true,
"description":"Waited 5432 ms",
"isWaitFor":true
}
]
},
{
"type":"Siesta.Result.SubTest",
"name":null,
"startDate":1398261059699,
"endDate":1398261067728,
"passed":true,
"url":"tests/project/project_CRUD.t.js",
"assertions":[
{
"type":"Siesta.Result.Assertion",
"passed":true,
"description":"test for is"
}
]
},
{
"type":"Siesta.Result.SubTest",
"name":null,
"startDate":1398261059699,
"endDate":1398261067728,
"passed":true,
"url":"tests/problem/problem_CRUD.t.js",
"assertions":[
{
"type":"Siesta.Result.Assertion",
"passed":true,
"description":"test ok"
}
]
}
]
}
Thanks!