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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment