GitHub Actions / Unit Tests
succeeded
Aug 15, 2024 in 0s
43 passed, 0 failed and 1 skipped
β Β reports/junit.xml
44 tests were completed in 1s with 43 passed, 0 failed and 1 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
AttachmentRegistry | 12β | 233ms | ||
Nornir Tests | 10β | 946ms | ||
OpenAPI Router | 5β | 660ms | ||
Parsing | 1β | 215ms | ||
REST tests | 5β | 543ms | ||
test something | 1βͺ | 117ms | ||
utils | 10β | 130ms |
β Β AttachmentRegistry
AttachmentRegistry #register registers a value and returns a key
β
AttachmentRegistry #register registers a value and returns a key
AttachmentRegistry #registerFactory registers a factory and returns a key
β
AttachmentRegistry #registerFactory registers a factory and returns a key
AttachmentRegistry #registerFactory caches the result of the factory
β
AttachmentRegistry #registerFactory caches the result of the factory
AttachmentRegistry #put puts a constant value in the registry
β
AttachmentRegistry #put puts a constant value in the registry
AttachmentRegistry #putFactory puts a factory in the registry
β
AttachmentRegistry #putFactory puts a factory in the registry
AttachmentRegistry #delete deletes value from the registry by key
β
AttachmentRegistry #delete deletes value from the registry by key
AttachmentRegistry #getAssert gets a value from the registry or throws
β
AttachmentRegistry #getAssert gets a value from the registry or throws
AttachmentRegistry #getAssert throws NornirMissingAttachmentException if key does not exist in registry
β
AttachmentRegistry #getAssert throws NornirMissingAttachmentException if key does not exist in registry
AttachmentRegistry #has checks if a key exists in the registry
β
AttachmentRegistry #has checks if a key exists in the registry
AttachmentRegistry #hasAll checks if all keys exist in the registry
β
AttachmentRegistry #hasAll checks if all keys exist in the registry
AttachmentRegistry #hasAny checks if any key exists in the registry
β
AttachmentRegistry #hasAny checks if any key exists in the registry
AttachmentRegistry #merge merges two registries
β
AttachmentRegistry #merge merges two registries
β Β Nornir Tests
Nornir Tests use() Should add basic middleware
β
Nornir Tests use() Should add basic middleware
Nornir Tests use() Should throw when middleware throws
β
Nornir Tests use() Should throw when middleware throws
Nornir Tests useResult() Should add basic middleware
β
Nornir Tests useResult() Should add basic middleware
Nornir Tests useResult() Should handle previous error result
β
Nornir Tests useResult() Should handle previous error result
Nornir Tests build() with base registry Should build a chain a registry including existing registry keys
β
Nornir Tests build() with base registry Should build a chain a registry including existing registry keys
Nornir Tests build() with base registry Base registry should not be modified
β
Nornir Tests build() with base registry Base registry should not be modified
Nornir Tests useChain() Should compose chain
β
Nornir Tests useChain() Should compose chain
Nornir Tests split() Should split items
β
Nornir Tests split() Should split items
Nornir Tests split() Should handle errors
β
Nornir Tests split() Should handle errors
Nornir Tests match() Should run the correct match
β
Nornir Tests match() Should run the correct match
β Β OpenAPI Router
OpenAPI Router Should process a basic request
β
OpenAPI Router Should process a basic request
OpenAPI Router Should not process an invalid request
β
OpenAPI Router Should not process an invalid request
OpenAPI Router Should support merging routers
β
OpenAPI Router Should support merging routers
OpenAPI Router Should not allow implementing the same route twice
β
OpenAPI Router Should not allow implementing the same route twice
OpenAPI Router Should not allow implementing the same route more than once with merge
β
OpenAPI Router Should not allow implementing the same route more than once with merge
β Β Parsing
Parsing Should throw correct error on failure to parse
β
Parsing Should throw correct error on failure to parse
β Β REST tests
REST tests Valid requests Should process a basic GET request
β
REST tests Valid requests Should process a basic GET request
REST tests Valid requests Should process a basic POST request
β
REST tests Valid requests Should process a basic POST request
REST tests Valid requests Should process a GET request with an empty body
β
REST tests Valid requests Should process a GET request with an empty body
REST tests Invalid requests Should return a 404 for an invalid path
β
REST tests Invalid requests Should return a 404 for an invalid path
REST tests Invalid requests Should return a 422 for an invalid body
β
REST tests Invalid requests Should return a 422 for an invalid body
β Β test something
test something should do something
βͺ test something should do something
β Β utils
utils simpleSpecResolve function resolves $ref references
β
utils simpleSpecResolve function resolves $ref references
utils simpleSpecResolve function resolves object without $ref
β
utils simpleSpecResolve function resolves object without $ref
utils simpleSpecResolve function resolves simple array items
β
utils simpleSpecResolve function resolves simple array items
utils simpleSpecResolve function resolves array items
β
utils simpleSpecResolve function resolves array items
utils simpleSpecResolve function resolves nested objects
β
utils simpleSpecResolve function resolves nested objects
utils resolves nested objects with nested arrays
β
utils resolves nested objects with nested arrays
utils resolves complex deeply nested objects
β
utils resolves complex deeply nested objects
utils Handles multiple references to the same object
β
utils Handles multiple references to the same object
utils Handles circular references
β
utils Handles circular references
utils Does not mutate the input object
β
utils Does not mutate the input object
Loading