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

refactor app/ tests to use testdata #152

Merged
merged 3 commits into from
Nov 6, 2020
Merged

Conversation

dylanhitt
Copy link
Member

@dylanhitt dylanhitt commented Nov 3, 2020

Fixes #149

Checklist

  • Added unit / integration tests for windows, macOS and Linux?
  • Added a changelog entry in CHANGELOG.md?
  • Updated the documentation (README.md, docs)?
  • Does your change work on Linux, Windows and macOS?

@dylanhitt
Copy link
Member Author

Hey @SimonBaeumer let me know what what you think.

I removed test_command_linux_test.go as test_command_test.go was able to test everything.

Cheers

@codeclimate
Copy link

codeclimate bot commented Nov 3, 2020

Code Climate has analyzed commit efb2eb6 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (50% is the threshold).

This pull request will bring the total coverage in the repository to 92.4% (0.0% change).

View more on Code Climate.

@SimonBaeumer
Copy link
Member

Hey @SimonBaeumer let me know what what you think.

I removed test_command_linux_test.go as test_command_test.go was able to test everything.

Cheers

Nice, thank you!
Merged it :)

@SimonBaeumer SimonBaeumer merged commit c9f9703 into master Nov 6, 2020
@dylanhitt dylanhitt deleted the refactor-app-tests branch December 1, 2020 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Properly mock file and dirs in app tests to not read from the filesystem
2 participants