Skip to content

Instantly share code, notes, and snippets.

@pluma pluma/xunit.xml
Created Nov 23, 2016

Embed
What would you like to do?
<?xml version="1.0" encoding="UTF-8"?>
<testsuite name="/hello" timestamp="2016-11-23T15:32:04.685Z" tests="31" errors="0" failures="6" skip="1" time="66">
<testcase classname="global" name="is global" time="0"/>
<testcase classname="An error" name="is an error" time="0">
<failure type="Error" message="banana">
Error: banana
at Context.&lt;anonymous> (/home/pluma/projects/arango/_local/3.1.devel/arango-apps/_db/_system/hello/APP/test/queries.js:12:11)
at Function.global.DEFINE_MODULE.exports.nextTick [as immediately] (./js/common/bootstrap/modules/process.js:26:5)
</failure>
</testcase>
<testcase classname="An error" name="is skipped" time="0"/>
<testcase classname="Star Wars Query Tests Basic Queries" name="Correctly identifies R2-D2 as the hero of the Star Wars Saga" time="12"/>
<testcase classname="Star Wars Query Tests Basic Queries" name="Allows us to query for the ID and friends of R2-D2" time="3"/>
<testcase classname="Star Wars Query Tests Nested Queries" name="Allows us to query for the friends of friends of R2-D2" time="5"/>
<testcase classname="Star Wars Query Tests Using IDs and query parameters to refetch objects" name="Allows us to query for Luke Skywalker directly, using his ID" time="3"/>
<testcase classname="Star Wars Query Tests Using IDs and query parameters to refetch objects" name="Allows us to create a generic query, then use it to fetch Luke Skywalker using his ID" time="5">
<failure type="AssertionError" message="expected { Object (errors) } to not have property 'errors'">
AssertionError: expected { Object (errors) } to not have property 'errors'
at Context.&lt;anonymous> (/home/pluma/projects/arango/_local/3.1.devel/arango-apps/_db/_system/hello/APP/test/queries.js:242:36)
at Function.global.DEFINE_MODULE.exports.nextTick [as immediately] (./js/common/bootstrap/modules/process.js:26:5)
</failure>
</testcase>
<testcase classname="Star Wars Query Tests Using IDs and query parameters to refetch objects" name="Allows us to create a generic query, then pass an invalid ID to get null back" time="1">
<failure type="AssertionError" message="expected { Object (errors) } to not have property 'errors'">
AssertionError: expected { Object (errors) } to not have property 'errors'
at Context.&lt;anonymous> (/home/pluma/projects/arango/_local/3.1.devel/arango-apps/_db/_system/hello/APP/test/queries.js:261:36)
at Function.global.DEFINE_MODULE.exports.nextTick [as immediately] (./js/common/bootstrap/modules/process.js:26:5)
</failure>
</testcase>
<testcase classname="Star Wars Query Tests Using aliases to change the key in the response" name="Allows us to query for Luke, changing his key with an alias" time="1"/>
<testcase classname="Star Wars Query Tests Using aliases to change the key in the response" name="Allows us to query for both Luke and Leia, using two root fields and an alias" time="2"/>
<testcase classname="Star Wars Query Tests Uses fragments to express more complex queries" name="Allows us to query using duplicated content" time="2"/>
<testcase classname="Star Wars Query Tests Uses fragments to express more complex queries" name="Allows us to use a fragment to avoid duplicating content" time="3"/>
<testcase classname="Star Wars Query Tests Using __typename to find the type of an object" name="Allows us to verify that R2-D2 is a droid" time="2"/>
<testcase classname="Star Wars Query Tests Using __typename to find the type of an object" name="Allows us to verify that Luke is a human" time="1"/>
<testcase classname="Star Wars Introspection Tests Basic Introspection" name="Allows querying the schema for types" time="3">
<failure type="AssertionError" message="expected { Object (__schema) } to deeply equal { Object (__schema) }">
AssertionError: expected { Object (__schema) } to deeply equal { Object (__schema) }
at Context.&lt;anonymous> (/home/pluma/projects/arango/_local/3.1.devel/arango-apps/_db/_system/hello/APP/test/introspection.js:68:30)
at Function.global.DEFINE_MODULE.exports.nextTick [as immediately] (./js/common/bootstrap/modules/process.js:26:5)
</failure>
</testcase>
<testcase classname="Star Wars Introspection Tests Basic Introspection" name="Allows querying the schema for query type" time="1"/>
<testcase classname="Star Wars Introspection Tests Basic Introspection" name="Allows querying the schema for a specific type" time="1"/>
<testcase classname="Star Wars Introspection Tests Basic Introspection" name="Allows querying the schema for an object kind" time="1"/>
<testcase classname="Star Wars Introspection Tests Basic Introspection" name="Allows querying the schema for an interface kind" time="1"/>
<testcase classname="Star Wars Introspection Tests Basic Introspection" name="Allows querying the schema for object fields" time="3">
<failure type="AssertionError" message="expected { Object (__type) } to deeply equal { Object (__type) }">
AssertionError: expected { Object (__type) } to deeply equal { Object (__type) }
at Context.&lt;anonymous> (/home/pluma/projects/arango/_local/3.1.devel/arango-apps/_db/_system/hello/APP/test/introspection.js:211:30)
at Function.global.DEFINE_MODULE.exports.nextTick [as immediately] (./js/common/bootstrap/modules/process.js:26:5)
</failure>
</testcase>
<testcase classname="Star Wars Introspection Tests Basic Introspection" name="Allows querying the schema for nested object fields" time="2">
<failure type="AssertionError" message="expected { Object (__type) } to deeply equal { Object (__type) }">
AssertionError: expected { Object (__type) } to deeply equal { Object (__type) }
at Context.&lt;anonymous> (/home/pluma/projects/arango/_local/3.1.devel/arango-apps/_db/_system/hello/APP/test/introspection.js:291:30)
at Function.global.DEFINE_MODULE.exports.nextTick [as immediately] (./js/common/bootstrap/modules/process.js:26:5)
</failure>
</testcase>
<testcase classname="Star Wars Introspection Tests Basic Introspection" name="Allows querying the schema for field args" time="3"/>
<testcase classname="Star Wars Introspection Tests Basic Introspection" name="Allows querying the schema for documentation" time="0"/>
<testcase classname="Star Wars Validation Tests Basic Queries" name="Validates a complex but valid query" time="0"/>
<testcase classname="Star Wars Validation Tests Basic Queries" name="Notes that non-existent fields are invalid" time="1"/>
<testcase classname="Star Wars Validation Tests Basic Queries" name="Requires fields on objects" time="0"/>
<testcase classname="Star Wars Validation Tests Basic Queries" name="Disallows fields on scalars" time="0"/>
<testcase classname="Star Wars Validation Tests Basic Queries" name="Disallows object fields on interfaces" time="1"/>
<testcase classname="Star Wars Validation Tests Basic Queries" name="Allows object fields in fragments" time="0"/>
<testcase classname="Star Wars Validation Tests Basic Queries" name="Allows object fields in inline fragments" time="2"/>
</testsuite>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.