Available on crate feature
test only.Expand description
Test utilities for Cot projects.
Structsยง
- Client
- A test client for making requests to a Cot project.
- Test
Cache cache - A test cache.
- Test
Database db - A test database.
- Test
Migration db - A test migration.
- Test
Request Builder - A builder for creating test requests, typically used for unit testing without having to create a full Cot project and do actual HTTP requests.
- Test
Server - A running test server.
- Test
Server Builder - A utility for running entire projects in end-to-end tests.