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

Provide proper API for test-framework specific behavior #60

Closed
skuzzle opened this issue Jan 23, 2023 · 0 comments
Closed

Provide proper API for test-framework specific behavior #60

skuzzle opened this issue Jan 23, 2023 · 0 comments

Comments

@skuzzle
Copy link
Owner

skuzzle commented Jan 23, 2023

There are currently two known places where we depend on the behavior of actual test framework being used:

  • AssumptionExceptionDetector tries to detect the propert assumption exception
  • StaticOrphanedSnapshotDetector tries to identifiy whether a method contains a snapshot assertionn which only works for JUnit5 tests with Snapshot parameter

Since version 1.8.0 we're shipping test-framework specific artifacts. So it would just be natural to move this logic into the respective artifacts to have the core fully framework-agnostic.

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

No branches or pull requests

1 participant