Skip to content

Instantly share code, notes, and snippets.

@ThomasLocke
Created September 29, 2014 15:59
Show Gist options
  • Save ThomasLocke/8d196d5bb4ae4a4b9568 to your computer and use it in GitHub Desktop.
Save ThomasLocke/8d196d5bb4ae4a4b9568 to your computer and use it in GitHub Desktop.
shelftest.handler.test.dart output
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite name="All tests" hostname="hostname" tests="12" failures="0" errors="0" skipped="0" time="0.042" timestamp="2014-09-29 17:58:10.534">
<testcase id="1" name="Testing unknown route GET /unknown -&gt; return 404 Not Found" time="0.019">
</testcase>
<testcase id="2" name="Testing unknown route PUT /user/1 -&gt; return 404 Not Found" time="0.001">
</testcase>
<testcase id="3" name="Testing unknown route POST /user/1/name -&gt; return 404 Not Found" time="0.0">
</testcase>
<testcase id="4" name="Testing route GET /user/42 -&gt; return 404 Not Found" time="0.004">
</testcase>
<testcase id="5" name="Testing route GET /user/ZZZ -&gt; return 400 Bad Request" time="0.0">
</testcase>
<testcase id="6" name="Testing route GET /user/1 -&gt; return 200 OK and output {&quot;id&quot;:1,&quot;name&quot;:&quot;Thomas Løcke&quot;}" time="0.015">
</testcase>
<testcase id="7" name="Testing route PUT /user/42/name -&gt; return 404 Not Found" time="0.001">
</testcase>
<testcase id="8" name="Testing route PUT /user/ZZZ/name -&gt; return 400 Bad Request" time="0.001">
</testcase>
<testcase id="9" name="Testing route PUT /user/1/name with missing name key -&gt; return 400 Bad Request" time="0.001">
</testcase>
<testcase id="10" name="Testing route PUT /user/1/name with empty name value -&gt; return 400 Bad Request" time="0.0">
</testcase>
<testcase id="11" name="Testing route PUT /user/1/name with malformed body -&gt; return 400 Bad Request" time="0.0">
</testcase>
<testcase id="12" name="Testing route PUT /user/1/name -&gt; return 200 OK and output {&quot;id&quot;:1,&quot;name&quot;:&quot;New Thomas Løcke&quot;}" time="0.0">
</testcase>
</testsuite>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment