Skip to content
This repository has been archived by the owner on Nov 30, 2024. It is now read-only.

Ensure backtraces start at user code, not rspec-mocks code #1593

Closed
wants to merge 1 commit into from

Conversation

onlynone
Copy link

This will ensure all exceptions generated by rspec-mocks have the first line of their backtraces pointing to the user's code where the error happened.

Addresses #1592

@pirj
Copy link
Member

pirj commented Sep 17, 2024

HunkGenerator on 2.2 and 2.5 is flaky.

@pirj
Copy link
Member

pirj commented Sep 17, 2024

Do you need some help with JRuby support?

@JonRowe JonRowe closed this Sep 17, 2024
@JonRowe
Copy link
Member

JonRowe commented Sep 17, 2024

We already handle this in rspec-core and as per #1592 I don't want to add the maintenance burden of this, it would duplicate logic we have elsewhere. Additionally to our filtering we also have the ability to remove the filtering to allow finding issues within our, or any other filtered out code which this would circumvent.

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

Successfully merging this pull request may close these issues.

3 participants