Skip to content

Commit

Permalink
test(fixtures): add xqs responses
Browse files Browse the repository at this point in the history
for later use

see eXist-db#513
  • Loading branch information
duncdrum committed Oct 21, 2020
1 parent 23d5ba5 commit 165a12b
Show file tree
Hide file tree
Showing 3 changed files with 80 additions and 0 deletions.
15 changes: 15 additions & 0 deletions test/fixtures/mono-case.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"testsuite": {
"package": "https://dunddrum.eu/apps/mocha/tests",
"timestamp": "2020-10-13T12:17:01.271Z",
"tests": "1",
"failures": "0",
"errors": "0",
"pending": "0",
"time": "PT0.004S",
"testcase": {
"name": "dummy test",
"class": "tests:templating-foo"
}
}
}
30 changes: 30 additions & 0 deletions test/fixtures/multi-case.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"testsuite": {
"package": "https://dunddrum.eu/apps/mocha/tests",
"timestamp": "2020-10-13T12:18:34.64Z",
"tests": "3",
"failures": "1",
"errors": "0",
"pending": "0",
"time": "PT0.008S",
"testcase": [
{
"name": "failing test",
"class": "tests:fail-foo",
"failure": {
"message": "assertTrue failed.",
"type": "failure-error-code-1"
},
"output": "false"
},
{
"name": "passing test",
"class": "tests:pass-foo"
},
{
"name": "dummy test",
"class": "tests:templating-foo"
}
]
}
}
35 changes: 35 additions & 0 deletions test/fixtures/multi-suite.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"testsuite": [
{
"package": "http://heml.mta.ca/Lace2/templates",
"timestamp": "2020-10-13T12:19:13.927Z",
"tests": "1",
"failures": "0",
"errors": "0",
"pending": "0",
"time": "PT0.013S",
"testcase": {
"name": "make img tag",
"class": "app:getImageLink"
}
},
{
"package": "http://www.functx.com",
"timestamp": "2020-10-13T12:19:13.932Z",
"tests": "0",
"failures": "0",
"errors": "0",
"pending": "0",
"time": "PT0S"
},
{
"package": "http://www.w3.org/2005/xquery-local-functions",
"timestamp": "2020-10-13T12:19:13.933Z",
"tests": "0",
"failures": "0",
"errors": "0",
"pending": "0",
"time": "PT0S"
}
]
}

0 comments on commit 165a12b

Please sign in to comment.