Open ignatenkobrain opened 5 years ago
Same question as in https://github.com/oconnor663/duct.rs/issues/73:
I should make the tests that use these integration tests rather than unit tests, so that the binaries get built automatically and we don't need the path_to_exe hack. Anyway, I was under the impression if you wanted tests to have access to binaries, they needed to be in src/bin/. Is that wrong?
Maybe switch command on windows / nix. Depends if system env data is available here. If not just execute "/usr/bin/sleep" if stderr it is a Windows system. For Windows we can execute:
timeout /T 10 /nobreak
It's to simple. So I'm not sure if I overlooked a important point.
Is there any reason to be able to do
cargo install
those binaries?