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

improvement: add proper_test_location/1 #17

Merged
merged 1 commit into from
Jun 25, 2024

Conversation

ibarakaiev
Copy link
Contributor

@ibarakaiev ibarakaiev commented Jun 25, 2024

Contributor checklist

  • Bug fixes include regression tests
  • Features include unit/acceptance tests

Adds Igniter.Code.Module.proper_test_location/1 in order to be able to output test file paths, i.e. MyApp.HelloTest -> test/my_app/hello_test.exs.

Note: I'm not sure if it's a common scenario to have the test file not end with Test in the module name, but I wanted to account for it just in case.

@zachdaniel
Copy link
Contributor

Looks great, got one suggested change 👍

@ibarakaiev ibarakaiev force-pushed the add-proper-test-location branch from 3696a27 to 81efad6 Compare June 25, 2024 16:46
@zachdaniel zachdaniel merged commit 1271a75 into ash-project:main Jun 25, 2024
15 checks passed
@zachdaniel
Copy link
Contributor

🚀 Thank you for your contribution! 🚀

@ibarakaiev ibarakaiev deleted the add-proper-test-location branch June 25, 2024 17:14
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