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

Remove white-box testing #34

Open
elbrujohalcon opened this issue Dec 4, 2015 · 0 comments
Open

Remove white-box testing #34

elbrujohalcon opened this issue Dec 4, 2015 · 0 comments

Comments

@elbrujohalcon
Copy link
Member

Since #30 we have a test suite (wildcard_SUITE) that calls a function that should not be exported at all: xref_runner:find_dirs/1.

That function was intended to be private and it's only exported to be used by the test. That's not right. If the function is not used by production code, it shouldn't be exported.

We need to redefine the tests in order to actually execute/cover all the paths relative to the function without actually calling the function itself.

And, now that we are on it, we should as well rename that SUITE (if we're not removing it) with the proper prefix: xref_wildcard_SUITE

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

1 participant