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

adds test_pid field in the test metadata #13880

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ityonemo
Copy link
Contributor

@ityonemo ityonemo commented Oct 5, 2024

this enhancement adds a test_pid field into the test context metadata. This is useful for backtracking which test is responsible when a ecto sandbox or mox allowance has triggered after the parent test has finished. For now, one will have to write a custom ExUnit.Formatter to take advantage of this extra metadata.

Copy link
Member

@josevalim josevalim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me! Please run the formatter and add tests. :)

Co-authored-by: Andrea Leopardi <[email protected]>
@josevalim
Copy link
Member

@ityonemo ping in case it fell through the cracks. :)

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

Successfully merging this pull request may close these issues.

3 participants