-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Use Test Modules in tests instead of Elixir built-in modules #14383
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @maennchen. Sorry I left the comments a bit everywhere but the summary is to not extract PathHelpers
to a different module, let's simply defined it for the IEx suite instead, and let's make it automatically purges and deletes modules, so we don't have to explicitly call it every time.
Prep for Coverage Reporting in tests
f405adf
to
300f0ca
Compare
import PathHelpers | ||
|
||
write_beam( | ||
defmodule ExampleModule do |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to pick another name here to avoid conflicts.
💚 💙 💜 💛 ❤️ |
Prep for #14343