testing main with testing.M?
TimothyStiles opened this issue · 2 comments
TimothyStiles commented
Noticed this during my last refactor. Is this test necessary and does it need to be a main
test? The docker-test dependency is pretty iffy and I'm not sure why it's needed.
Koeng101 commented
m *testing.M
will basically run before all other tests. It is mostly to set up the database + sql connection which all of the other tests use.
The docker-test dependency is only there for when we integrate litestream + minio. It was leftover from when I was hacking things together and thought we would need earlier. We probably will eventually need it, but right now it does slow down the tests by a bit.
Koeng101 commented
@TimothyStiles Can we close this issue?