Why are my tests failing in my rust code?
I using diesel to access a Postgres DB and when i was going to write tests for my code(that is working btw) the tests failed, debugging further I’ve noticed that the connection with the database wasn’t really working correctly during tests, but with cargo run it worked just fine, does anybody know why?
Why are my tests failing in my rust code?
I using diesel to access a Postgres DB and when i was going to write tests for my code(that is working btw) the tests failed, debugging further I’ve noticed that the connection with the database wasn’t really working correctly during tests, but with cargo run it worked just fine, does anybody know why?