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

[definition] inside test files #90

Open
mhanberg opened this issue Jul 3, 2023 · 2 comments
Open

[definition] inside test files #90

mhanberg opened this issue Jul 3, 2023 · 2 comments
Labels
definition enhancement New feature or request

Comments

@mhanberg
Copy link
Collaborator

mhanberg commented Jul 3, 2023

No description provided.

@mhanberg mhanberg added the enhancement New feature or request label Jul 3, 2023
@teamon
Copy link

teamon commented May 10, 2024

👋 Could you briefly describe the difference between lib and test files and what would be necessary to make this work in tests?

@mhanberg
Copy link
Collaborator Author

test files are scripts and are not compiled, basically the same reason why there are not diagnostics for test files (much to my chagrin)

we noticed a couple of issues from what I remember

  • the project runtime is run in MIX_ENV=dev, not test
  • the ExUnit application seems to be needed to be started when the test scripts are compiled

further research is needed and welcome

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
definition enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants