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

Potential new rule: only call internal_export'ed functions from test code #327

Open
paulo-ferraz-oliveira opened this issue Dec 20, 2023 · 2 comments
Labels
Milestone

Comments

@paulo-ferraz-oliveira
Copy link
Collaborator

This issue might evolve into a new rule proposal, after which I'll update the description accordingly.

If erlang/otp#7407 goes forward, do you think Elvis would have a say on (what appears to be) "test" code being called from "non-test" code. We could have the rule disabled by default but suggested for use with the "test" folder (?)

Thoughts?

@elbrujohalcon
Copy link
Member

I like the idea, but wouldn't that be covered already by the XRef changes proposed in that same PR?

@paulo-ferraz-oliveira
Copy link
Collaborator Author

Maybe (?) We can wait until it comes out, then test it and see if we need to do something about it :)

@elbrujohalcon elbrujohalcon added this to the 4.1.0 milestone Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants