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

feat: Allow configuration of test directories and test file pattern #40

Merged
merged 2 commits into from
Jan 19, 2025

Conversation

oskar1233
Copy link
Contributor

In my project I keep test files in lib/ directory next to the code with *.test.exs file names. This pretty much prevented me from using the plug-in in its current state so I made a couple little changes and gathered in this PR.

  • expose filter_dir from neotest API directly to config (had no better idea but open to suggestions)
  • add test_file_pattern option

@oskar1233 oskar1233 force-pushed the feat/config-patterns branch from ecc225b to e415896 Compare June 24, 2024 09:15
@jfpedroza jfpedroza merged commit a242aeb into jfpedroza:master Jan 19, 2025
1 check passed
@jfpedroza
Copy link
Owner

I had never seen collocated tests in Elixir.

Thanks for the contribution. 👌🏽

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants