Closed svnlto closed 10 years ago
I suggest we add some basic tests.
I like the ideas of tests, but I don’t know how to test things here since all this module does is work around platform specific differences.
well, we should mock those and switch around environments and then see of the mocks are getting passed through to the other end successfully if that makes sense?
maybe we can factor out the code that does the detection of the differences and test that with different inputs, that could work.
ah yes, what you said!
maybe we can factor out the code that does the detection of the differences and test that with different inputs, that could work.
yup.
sounds like a plan!
please don't merge this. things aren't working right now.
LGTM. Haven’t run the code myself. If it works, let’s get this merged :)