Releases: mattpolzin/jsonapi-openapi-test-server
Update OpenAPIKit version
0.0.7 update OpenAPIKit version
Add Websocket support for watching test results.
The ws
route at /watch
will push JSON:API api_test_descriptor
single-resource documents for each new or modified test descriptor. These updates occur for every test state: pending
, building
, running
, passed
, failed
.
Update Vapor, Update OpenAPIKit, change docker name
- Updated Vapor 4. Now requires Swift 5.2
- Updated OpenAPIKit
- Moved to mattpolzin2/api-test-server on Docker Hub.
Archived test files and multiple runs simultaneously
Add support for dumping test files in a zipped format from the APITest
executable (APITest test --dump-files
).
Add support for retrieving archived test files from server with new api_test/{id}/files
endpoint.
Add support for running more than one test simultaneously (or rather coincidentally) to the server. Previously you could request tests in rapid fire, but test files were all generated in the same folder so this was not really supported. Even now, the number of concurrently running tests is 1, but async operations from preparing or tearing down tests will not step on the toes of other test runs.
Improve error messages around expected response body
When a test case that checks for an expected JSON:API response body fails, the errors are now much more concise and clear.
Initial pre-release
Notes:
Currently using beta versions of Vapor 4.