2 ms·
> tests can be implemented independent of each other regardless of the quality of the code they are testing. For example, if you have ten tests that must be ru
by michaelt 4y ago
> tests can be implemented independent of each other regardless of the quality of the code they are testing.
For example, if you have ten tests that must be run in a particular order, you can simply turn them into a single gigantic test.
- sublinear 4y agoThis gave me a good chuckle. I imagine the test would then be named something vague and ultimately useless. Damn near every change breaks this test and I don't know what now! As long as it's all green checkmarks and I don't need to run all the tests every time then it must be ok right?
- djur 4y agoIf the tests are really interdependent to the degree that they cannot be reordered, they must be testing some kind of multi-step process. So the test should be named after that process.