2 ms·
> unit test that called that directory creation function with a complicated path Unit tests shouldn’t be creating directories in the first place - any outside
by commandlinefan 5y ago
> unit test that called that directory creation function with a complicated path
Unit tests shouldn’t be creating directories in the first place - any outside interaction ought to be mocked out anyway.
- ac2u 5y agoNitpicking. Even if it were misplaced in a unit test, in order to ensure it's working and that you're not hampered by file/folder/permission problems, then there'd be some sort of automated integration test where it does belong, and the story doesn't change one bit.
- commandlinefan 5y agoYes, I’m changing the subject a bit/focusing on an irrelevant (to the story, important otherwise) detail.