- Added `serde` crate for serialisation or deserialisation of data - Added test cases for the `subscribe` API route - Refactor the testing setup to another module `test_utils` - use random TCP port for testing
6 lines
219 B
Markdown
6 lines
219 B
Markdown
# Tests
|
|
|
|
## Notes
|
|
|
|
`tokio` spins up a new async runtime every time at the beginning of each test case and shutdown at the end of each test case the `spawn_app()` function therefore only survives as long as the runtime.
|