fd
fd copied to clipboard
Test refactoring
I saw https://github.com/sharkdp/fd/issues/382 and was interested in helping out.
Specifically regarding https://github.com/sharkdp/fd/issues/382#issuecomment-894977261 I see that integration tests are all under a single tests/tests.rs. I took a look at some possible simple test groupings, such as:
and.rs exec.rs glob.rs ignore.rs owner.rs symlink.rs tests.rs
Shared static globals could be moved to testenv or a separate utils helper module.
Is there still any interest in splitting these into separate files? Or any other refactorings?
That seems reasonable to me.
Sounds good, I created a PR: https://github.com/sharkdp/fd/pull/1745