Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tests for filesystem walker #15

Open
keeferrourke opened this issue Oct 10, 2017 · 0 comments
Open

Add tests for filesystem walker #15

keeferrourke opened this issue Oct 10, 2017 · 0 comments
Assignees

Comments

@keeferrourke
Copy link
Owner

This should be able to done by mocking out a filesystem using an osFS{}.

Details for mocking out a filesystem can found in the 10 things you (probably) don't know about Go talk from 2012.

There may be a nicer way of doing this using a package like vfs but I would rather not add another package dependency for testing (I think).

This issue is a more specific discussion from issue #3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants