I would like to know what are the best practices for controlling unit test fixtures.
I have the feeling that I have to write one foreach unit test fixture. I think that if I write too much unit test, the device will be too long. Then, if I want to change it, I will break some lights.
Now I'm looking for a way to record one fixture per unit test.
There are no problems in theory, I think. Tell me if I'm wrong.
My problem is how can I provide update updates. I do not want to change all fixtures if I change the database schema. This should be possible if any schema changes are made through migration.
Are there any tools for this?
source share