docs: Fix path for Elixir tests #9752
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Hey there!
This pull request fixes the Elixir tests paths in CircleCI guides to
test/**/*_test.exsinstead oflib/**/*_test.exs. It is a small mistake, but might save somelate-night debugging of anyone else out there. 🦉Reasons
By default, ExUnit expects tests to be located at
test/**/*_test.exsunless purposefully changed by developer.If the incorrect path is used, then CircleCI pipelines won't find the project's tests. Depending on the setup, the pipeline might be wrongfully marked as passing even if the tests would fail if executed.
Additionally, the correct path can be confirmed by running
mix new (..)to initialize an empty project boilerplate:Content Checklist
Please follow our style when contributing to CircleCI docs. Our style guide is here: https://circleci.com/docs/style/style-guide-overview.
Please take a moment to check through the following items when submitting your PR (this is just a guide so will not be relevant for all PRs):