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

Much of Floki's function is hard to test in UT #58

Open
tomwatson1024 opened this issue Dec 10, 2019 · 0 comments
Open

Much of Floki's function is hard to test in UT #58

tomwatson1024 opened this issue Dec 10, 2019 · 0 comments
Labels
testing Relates to testing of the code or solution

Comments

@tomwatson1024
Copy link
Contributor

Floki mostly consists of:

  • A command-line interface;
  • A series of subshell commands.

Neither are covered in UT, and by their nature aren't easy to cover with UTs either. This means it's easy to break Floki and have all UTs continue to pass.

Having some FV-style testing of Floki as a whole would be useful for catching this class of bugs, and likely more useful in general than fairly narrow-scoped UTs.

@rlupton20 rlupton20 added the testing Relates to testing of the code or solution label Mar 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
testing Relates to testing of the code or solution
Projects
None yet
Development

No branches or pull requests

2 participants