Skip to content

Instantly share code, notes, and snippets.

@macphil
Last active September 29, 2024 22:29
Show Gist options
  • Save macphil/1879ff2c84e0bfed3ffa38cb6ce9faef to your computer and use it in GitHub Desktop.
Save macphil/1879ff2c84e0bfed3ffa38cb6ce9faef to your computer and use it in GitHub Desktop.

Test Report: Pester test results

  • Date: 2024-09-29
  • Time: 22:29:13

Expand the following summaries for more details:

Environment:
Env
user: runner
cwd: /home/runner/work/fast-api/fast-api
os-version: 6.8.0-1014-azure
user-domain: ``
machine-name: fv-az692-432
nunit-version: 2.5.8.0
clr-version: 8.0.8
platform: Linux
Outcome: | Total Tests: 25 | Passed: 24 | Failed: 0
Counters
Total: 25
Errors: 0
Failures: 0
Not-run: 1
Inconclusive: 0
Ignored: 0
Skipped: 0
Invalid: 0

Tests:

/ Pester / /home/runner/work/fast-api/fast-api/Pester/Api.Tests.ps1 / ApiTests returns Ok (200)

✔️ ApiTests returns Ok (200).'/system' response returns expected informations

'/system' response returns expected informations

Parent: / Pester / /home/runner/work/fast-api/fast-api/Pester/Api.Tests.ps1 / ApiTests returns Ok (200)
Name: ApiTests returns Ok (200).'/system' response returns expected informations
Outcome: Success ✔️
Time: 0.0178 seconds

/ Pester / /home/runner/work/fast-api/fast-api/Pester/Api.Tests.ps1 / ApiTests returns Ok (200) / ApiTests returns Ok (200). ''

✔️ ApiTests returns Ok (200).OPTIONS '/'

OPTIONS '/'

Parent: / Pester / /home/runner/work/fast-api/fast-api/Pester/Api.Tests.ps1 / ApiTests returns Ok (200) / ApiTests returns Ok (200).<Method> '<Ressource>'
Name: ApiTests returns Ok (200).OPTIONS '/'
Outcome: Success ✔️
Time: 0.1858 seconds
✔️ ApiTests returns Ok (200).GET '/'

GET '/'

Parent: / Pester / /home/runner/work/fast-api/fast-api/Pester/Api.Tests.ps1 / ApiTests returns Ok (200) / ApiTests returns Ok (200).<Method> '<Ressource>'
Name: ApiTests returns Ok (200).GET '/'
Outcome: Success ✔️
Time: 0.0176 seconds
✔️ ApiTests returns Ok (200).GET '/system'

GET '/system'

Parent: / Pester / /home/runner/work/fast-api/fast-api/Pester/Api.Tests.ps1 / ApiTests returns Ok (200) / ApiTests returns Ok (200).<Method> '<Ressource>'
Name: ApiTests returns Ok (200).GET '/system'
Outcome: Success ✔️
Time: 0.014 seconds
✔️ ApiTests returns Ok (200).GET '/time'

GET '/time'

Parent: / Pester / /home/runner/work/fast-api/fast-api/Pester/Api.Tests.ps1 / ApiTests returns Ok (200) / ApiTests returns Ok (200).<Method> '<Ressource>'
Name: ApiTests returns Ok (200).GET '/time'
Outcome: Success ✔️
Time: 0.0142 seconds
✔️ ApiTests returns Ok (200).GET '/rrdtool'

GET '/rrdtool'

Parent: / Pester / /home/runner/work/fast-api/fast-api/Pester/Api.Tests.ps1 / ApiTests returns Ok (200) / ApiTests returns Ok (200).<Method> '<Ressource>'
Name: ApiTests returns Ok (200).GET '/rrdtool'
Outcome: Success ✔️
Time: 0.0196 seconds

/ Pester / /home/runner/work/fast-api/fast-api/Pester/Api.Tests.ps1 / '/time/' - Tests

✔️ '/time/' - Tests.response matches my-data-diy format

response matches my-data-diy format

Parent: / Pester / /home/runner/work/fast-api/fast-api/Pester/Api.Tests.ps1 / '/time/' - Tests
Name: '/time/' - Tests.response matches my-data-diy format
Outcome: Success ✔️
Time: 0.0401 seconds

/ Pester / /home/runner/work/fast-api/fast-api/Pester/Api.Tests.ps1 / '/rrdtool/' - lifecycle test / '/rrdtool/' - lifecycle test.PUT 'rrdb/' add new value

✔️ '/rrdtool/' - lifecycle test.PUT 'rrdb/eb4a3d51' add new value 1151

PUT 'rrdb/eb4a3d51' add new value 1151

Parent: / Pester / /home/runner/work/fast-api/fast-api/Pester/Api.Tests.ps1 / '/rrdtool/' - lifecycle test / '/rrdtool/' - lifecycle test.PUT 'rrdb/<Ressource>' add new value <Value>
Name: '/rrdtool/' - lifecycle test.PUT 'rrdb/eb4a3d51' add new value 1151
Outcome: Success ✔️
Time: 0.0284 seconds

/ Pester / /home/runner/work/fast-api/fast-api/Pester/Api.Tests.ps1 / '/rrdtool/' - lifecycle test / '/rrdtool/' - lifecycle test.GET 'rrdb/' Returns datetme and the most recent value

✔️ '/rrdtool/' - lifecycle test.GET 'rrdb/eb4a3d51' Returns datetme and the most recent value 1151

GET 'rrdb/eb4a3d51' Returns datetme and the most recent value 1151

Parent: / Pester / /home/runner/work/fast-api/fast-api/Pester/Api.Tests.ps1 / '/rrdtool/' - lifecycle test / '/rrdtool/' - lifecycle test.GET 'rrdb/<Ressource>' Returns datetme and the most recent value <Value>
Name: '/rrdtool/' - lifecycle test.GET 'rrdb/eb4a3d51' Returns datetme and the most recent value 1151
Outcome: Success ✔️
Time: 0.0974 seconds

/ Pester / /home/runner/work/fast-api/fast-api/Pester/Api.Tests.ps1 / '/rrdtool/' - lifecycle test / '/rrdtool/' - lifecycle test.DELETE 'rrdb/' returns: 204 No Content

✔️ '/rrdtool/' - lifecycle test.DELETE 'rrdb/eb4a3d51' returns: 204 No Content

DELETE 'rrdb/eb4a3d51' returns: 204 No Content

Parent: / Pester / /home/runner/work/fast-api/fast-api/Pester/Api.Tests.ps1 / '/rrdtool/' - lifecycle test / '/rrdtool/' - lifecycle test.DELETE 'rrdb/<Ressource>' returns: 204 No Content
Name: '/rrdtool/' - lifecycle test.DELETE 'rrdb/eb4a3d51' returns: 204 No Content
Outcome: Success ✔️
Time: 0.0344 seconds

/ Pester / /home/runner/work/fast-api/fast-api/Pester/Api.Tests.ps1 / '/rrdtool/' - lifecycle test / '/rrdtool/' - lifecycle test.DELETE 'rrdb/' returns now: 404 Not Found

✔️ '/rrdtool/' - lifecycle test.DELETE 'rrdb/eb4a3d51' returns now: 404 Not Found

DELETE 'rrdb/eb4a3d51' returns now: 404 Not Found

Parent: / Pester / /home/runner/work/fast-api/fast-api/Pester/Api.Tests.ps1 / '/rrdtool/' - lifecycle test / '/rrdtool/' - lifecycle test.DELETE 'rrdb/<Ressource>' returns now: 404 Not Found
Name: '/rrdtool/' - lifecycle test.DELETE 'rrdb/eb4a3d51' returns now: 404 Not Found
Outcome: Success ✔️
Time: 0.028 seconds

/ Pester / /home/runner/work/fast-api/fast-api/Pester/Api.Tests.ps1 / '/rrdtool/' - lifecycle test / '/rrdtool/' - lifecycle test.POST 'rrdb/' create a rrdb

✔️ '/rrdtool/' - lifecycle test.POST 'rrdb/eb4a3d51' create a rrdb

POST 'rrdb/eb4a3d51' create a rrdb

Parent: / Pester / /home/runner/work/fast-api/fast-api/Pester/Api.Tests.ps1 / '/rrdtool/' - lifecycle test / '/rrdtool/' - lifecycle test.POST 'rrdb/<Ressource>' create a rrdb
Name: '/rrdtool/' - lifecycle test.POST 'rrdb/eb4a3d51' create a rrdb
Outcome: Success ✔️
Time: 0.0248 seconds

/ Pester / /home/runner/work/fast-api/fast-api/Pester/Api.Tests.ps1 / '/rrdtool/' - lifecycle test / '/rrdtool/' - lifecycle test.GET 'rrdb/' returns a list containing the just created rrdb

✔️ '/rrdtool/' - lifecycle test.GET 'rrdb/' returns a list containing the just created rrdb eb4a3d51

GET 'rrdb/' returns a list containing the just created rrdb eb4a3d51

Parent: / Pester / /home/runner/work/fast-api/fast-api/Pester/Api.Tests.ps1 / '/rrdtool/' - lifecycle test / '/rrdtool/' - lifecycle test.GET 'rrdb/' returns a list containing the just created rrdb <Ressource>
Name: '/rrdtool/' - lifecycle test.GET 'rrdb/' returns a list containing the just created rrdb eb4a3d51
Outcome: Success ✔️
Time: 0.0426 seconds

/ Pester / /home/runner/work/fast-api/fast-api/Pester/Api.Tests.ps1 / '/rrdtool/' - lifecycle test / '/rrdtool/' - lifecycle test.PUT 'rrdb/ with wrong args'

✔️ '/rrdtool/' - lifecycle test.PUT 'rrdb/eb4a3d51 with wrong args'

PUT 'rrdb/eb4a3d51 with wrong args'

Parent: / Pester / /home/runner/work/fast-api/fast-api/Pester/Api.Tests.ps1 / '/rrdtool/' - lifecycle test / '/rrdtool/' - lifecycle test.PUT 'rrdb/<Ressource> with wrong args'
Name: '/rrdtool/' - lifecycle test.PUT 'rrdb/eb4a3d51 with wrong args'
Outcome: Success ✔️
Time: 0.0779 seconds

/ Pester / /home/runner/work/fast-api/fast-api/Pester/Api.Tests.ps1 / Http status code tests / Http status code tests. returns

✔️ Http status code tests.GET / returns OK

GET / returns OK

Parent: / Pester / /home/runner/work/fast-api/fast-api/Pester/Api.Tests.ps1 / Http status code tests / Http status code tests.<Method> <Path> returns <HttpRc>
Name: Http status code tests.GET / returns OK
Outcome: Success ✔️
Time: 0.0646 seconds
✔️ Http status code tests.OPTIONS / returns OK

OPTIONS / returns OK

Parent: / Pester / /home/runner/work/fast-api/fast-api/Pester/Api.Tests.ps1 / Http status code tests / Http status code tests.<Method> <Path> returns <HttpRc>
Name: Http status code tests.OPTIONS / returns OK
Outcome: Success ✔️
Time: 0.0302 seconds
✔️ Http status code tests.GET /rrdtool returns OK

GET /rrdtool returns OK

Parent: / Pester / /home/runner/work/fast-api/fast-api/Pester/Api.Tests.ps1 / Http status code tests / Http status code tests.<Method> <Path> returns <HttpRc>
Name: Http status code tests.GET /rrdtool returns OK
Outcome: Success ✔️
Time: 0.0576 seconds
✔️ Http status code tests.GET /rrdtool/rrdb returns OK

GET /rrdtool/rrdb returns OK

Parent: / Pester / /home/runner/work/fast-api/fast-api/Pester/Api.Tests.ps1 / Http status code tests / Http status code tests.<Method> <Path> returns <HttpRc>
Name: Http status code tests.GET /rrdtool/rrdb returns OK
Outcome: Success ✔️
Time: 0.0361 seconds
✔️ Http status code tests.GET /rrdtool/rrdb/ce756877 returns NotFound

GET /rrdtool/rrdb/ce756877 returns NotFound

Parent: / Pester / /home/runner/work/fast-api/fast-api/Pester/Api.Tests.ps1 / Http status code tests / Http status code tests.<Method> <Path> returns <HttpRc>
Name: Http status code tests.GET /rrdtool/rrdb/ce756877 returns NotFound
Outcome: Success ✔️
Time: 0.0463 seconds
✔️ Http status code tests.POST /rrdtool/rrdb/ce756877 returns Created

POST /rrdtool/rrdb/ce756877 returns Created

Parent: / Pester / /home/runner/work/fast-api/fast-api/Pester/Api.Tests.ps1 / Http status code tests / Http status code tests.<Method> <Path> returns <HttpRc>
Name: Http status code tests.POST /rrdtool/rrdb/ce756877 returns Created
Outcome: Success ✔️
Time: 0.1354 seconds
✔️ Http status code tests.POST /rrdtool/rrdb/ce756877 returns Conflict

POST /rrdtool/rrdb/ce756877 returns Conflict

Parent: / Pester / /home/runner/work/fast-api/fast-api/Pester/Api.Tests.ps1 / Http status code tests / Http status code tests.<Method> <Path> returns <HttpRc>
Name: Http status code tests.POST /rrdtool/rrdb/ce756877 returns Conflict
Outcome: Success ✔️
Time: 0.0134 seconds
✔️ Http status code tests.PUT /rrdtool/rrdb/ce756877 returns UnprocessableEntity

PUT /rrdtool/rrdb/ce756877 returns UnprocessableEntity

Parent: / Pester / /home/runner/work/fast-api/fast-api/Pester/Api.Tests.ps1 / Http status code tests / Http status code tests.<Method> <Path> returns <HttpRc>
Name: Http status code tests.PUT /rrdtool/rrdb/ce756877 returns UnprocessableEntity
Outcome: Success ✔️
Time: 0.0129 seconds
✔️ Http status code tests.GET /rrdtool/rrdb/ce756877 returns OK

GET /rrdtool/rrdb/ce756877 returns OK

Parent: / Pester / /home/runner/work/fast-api/fast-api/Pester/Api.Tests.ps1 / Http status code tests / Http status code tests.<Method> <Path> returns <HttpRc>
Name: Http status code tests.GET /rrdtool/rrdb/ce756877 returns OK
Outcome: Success ✔️
Time: 0.0124 seconds
✔️ Http status code tests.DELETE /rrdtool/rrdb/ce756877 returns NoContent

DELETE /rrdtool/rrdb/ce756877 returns NoContent

Parent: / Pester / /home/runner/work/fast-api/fast-api/Pester/Api.Tests.ps1 / Http status code tests / Http status code tests.<Method> <Path> returns <HttpRc>
Name: Http status code tests.DELETE /rrdtool/rrdb/ce756877 returns NoContent
Outcome: Success ✔️
Time: 0.0124 seconds
✔️ Http status code tests.DELETE /rrdtool/rrdb/ce756877 returns NotFound

DELETE /rrdtool/rrdb/ce756877 returns NotFound

Parent: / Pester / /home/runner/work/fast-api/fast-api/Pester/Api.Tests.ps1 / Http status code tests / Http status code tests.<Method> <Path> returns <HttpRc>
Name: Http status code tests.DELETE /rrdtool/rrdb/ce756877 returns NotFound
Outcome: Success ✔️
Time: 0.0369 seconds
Display the source blob
Display the rendered blob
Raw
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="236" height="20" role="img" aria-label="Tested @ 09/29/2024 22:29:13: Passed"><title>Tested @ 09/29/2024 22:29:13: Passed</title><linearGradient id="s" x2="0" y2="100%"><stop offset="0" stop-color="#bbb" stop-opacity=".1"/><stop offset="1" stop-opacity=".1"/></linearGradient><clipPath id="r"><rect width="236" height="20" rx="3" fill="#fff"/></clipPath><g clip-path="url(#r)"><rect width="187" height="20" fill="#555"/><rect x="187" width="49" height="20" fill="#97ca00"/><rect width="236" height="20" fill="url(#s)"/></g><g fill="#fff" text-anchor="middle" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" text-rendering="geometricPrecision" font-size="110"><text aria-hidden="true" x="945" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="1770">Tested @ 09/29/2024 22:29:13</text><text x="945" y="140" transform="scale(.1)" fill="#fff" textLength="1770">Tested @ 09/29/2024 22:29:13</text><text aria-hidden="true" x="2105" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="390">Passed</text><text x="2105" y="140" transform="scale(.1)" fill="#fff" textLength="390">Passed</text></g></svg>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment