Skip to content

Merge pull request #40 from rabestro/develop

Sign in for the full log view
GitHub Actions / Bruno API Tests succeeded Jan 10, 2024 in 0s

Bruno API Tests ✅

Tests passed successfully

✅ bruno-test/report.xml

46 tests were completed in 65s with 46 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
json-response/No Body to JSON 4✅ 421ms
json-response/Null request sent 8✅ 434ms
json-response/Null sentence sent 4✅ 475ms
json-response/Sentence can't be translated 2✅ 406ms
json-response/Translate sentence to Pig Latin 5✅ 60s
openapi-docs/Confluence 2✅ 472ms
openapi-docs/OpenAPI Specification 1✅ 434ms
openapi-docs/Rapidoc OpenAPI 4✅ 395ms
openapi-docs/Redoc OpenAPI 2✅ 412ms
openapi-docs/Swagger UI 2✅ 436ms
xml-response/No Body to XML 2✅ 437ms
xml-response/Translate text to Pig Latin 6✅ 555ms
xml-response/xml-to-xml 4✅ 485ms

✅ json-response/No Body to JSON

https://piglatin.azurewebsites.net/pig-latin
  ✅ res.status eq 400
  ✅ res.body.status eq 400
  ✅ res.body.error startsWith Bad Request
  ✅ should return correct error response

✅ json-response/Null request sent

https://piglatin.azurewebsites.net/pig-latin
  ✅ res.status eq 400
  ✅ res.body isJson
  ✅ res.body.error isDefined
  ✅ res.body.error contains Bad Request
  ✅ res.body.timestamp isDefined
  ✅ res.body.timestamp matches \d{4}-\d\d-\d\dT\d\d:\d\d:\d\d\.\d{3}
  ✅ res.body.status isNumber
  ✅ res.body.path isDefined

✅ json-response/Null sentence sent

https://piglatin.azurewebsites.net/pig-latin
  ✅ res.status eq 400
  ✅ res.body isJson
  ✅ res.body.error isDefined
  ✅ res.body.error contains Bad Request

✅ json-response/Sentence can't be translated

https://piglatin.azurewebsites.net/pig-latin
  ✅ res.status eq 418
  ✅ res.body isEmpty

✅ json-response/Translate sentence to Pig Latin

https://piglatin.azurewebsites.net/pig-latin
  ✅ res.status eq 200
  ✅ res.body isJson
  ✅ res.body.sentence isDefined
  ✅ res.body.sentence isString
  ✅ res.body.sentence eq "ellohay, orldway!"

✅ openapi-docs/Confluence

https://rabestro.atlassian.net/wiki/spaces/PLT/pages/3768326/API+Documentation+Remote
  ✅ res.status eq 200
  ✅ res.body contains Atlassian

✅ openapi-docs/OpenAPI Specification

https://piglatin.azurewebsites.net/openapi.yaml
  ✅ res.status eq 200

✅ openapi-docs/Rapidoc OpenAPI

https://piglatin.azurewebsites.net/ui/redoc.html
  ✅ res.status eq 200
  ✅ res.body contains Pig Latin Translator API
  ✅ res.body notContains render-style
  ✅ res.body notContains theme

✅ openapi-docs/Redoc OpenAPI

https://piglatin.azurewebsites.net/ui/redoc.html
  ✅ res.status eq 200
  ✅ res.body contains Pig Latin Translator API

✅ openapi-docs/Swagger UI

https://piglatin.azurewebsites.net/swagger-ui/index.html
  ✅ res.status eq 200
  ✅ res.body contains Swagger UI

✅ xml-response/No Body to XML

https://piglatin.azurewebsites.net/pig-latin
  ✅ res.status eq 400
  ✅ res.body startsWith <Map>

✅ xml-response/Translate text to Pig Latin

https://piglatin.azurewebsites.net/pig-latin
  ✅ res.status eq 200
  ✅ res.body contains "ellohay, orldway!"
  ✅ sentence isDefined
  ✅ sentence isString
  ✅ sentence eq ellohay, orldway!
  ✅ sentence matches \w+, \w+!

✅ xml-response/xml-to-xml

https://piglatin.azurewebsites.net/pig-latin
  ✅ res.status eq 200
  ✅ res.body contains ellowyay ubmarinesay
  ✅ should return XML payload
  ✅ should translate message