Open hawkins opened 6 years ago
Testing this honestly seems like a pain, maybe it just my level of rust (in)experience talking, but having to work with a mocked filesystem, Exec, watcher......
I suppose it's feasible if we broke functions up into parts that leverage library code and parts that decided arguments to give to library code, and only tested the latter?
Yeah, just to get something out of this, I would skip testing actual filesystem events themselves, and instead test the ability to respond to simulated events and prove that we can reliably:
I'd like to write some tests, primarily around the arguments interop and the watch function in general