4 ms·
I agree your example is a Lovecraftian horror, but you test it by running it on every platform. How else would you test it?
by ahefner 4y ago
I agree your example is a Lovecraftian horror, but you test it by running it on every platform. How else would you test it?
- jmillikin 4y agoYou separate out the core logic so it can be tested on any platform, and only the truly OS-dependent code needs to be target-specific. I should be able to run the test "expand this glob as if on AmigaOS, with given homedir path" on a Linux desktop.