marcoow / rust_rest

MIT License
5 stars 1 forks source link

Clean up test databases #21

Closed marcoow closed 10 months ago

marcoow commented 10 months ago

We're currently creating a large number of test databases – the __test_template__ as well as one database for each test. Those should be cleaned up after running the tests completes (with whatever result).

It seems we'll need to go with a custom test macro like the one actix is using: https://github.com/actix/actix-web/blob/master/actix-web-codegen/src/lib.rs#L233