Correct me if I am wrong, but I think if the test is spinning up databases and making real writes and reads it would have been integration tests, not unit tests.
That is completely correct, that would be an integration test, not a unit test.
As for the mocking critical inputs, could you provide an example? I don't think I'm following.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
That is completely correct, that would be an integration test, not a unit test.
As for the mocking critical inputs, could you provide an example? I don't think I'm following.