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

Store snapshots from static inner test classes into own sub directory of parent class #55

Open
skuzzle opened this issue Jan 16, 2023 · 0 comments
Milestone

Comments

@skuzzle
Copy link
Owner

skuzzle commented Jan 16, 2023

Currently, we just use the full class name as directory name. That leads to directories named like ParentClass$StaticInnterClass_snapshots. We should deconstruct the class name and create proper sub directories for the inner classes.

When doing this, we should also provide an automatic migration of existing snapshot files. Otherwise we might break existing tests and a users might need to inconveniently migrate existing snapshot files manually.

@skuzzle skuzzle changed the title Store classes from static inner test classes into own sub directory of parent class Store snapshots from static inner test classes into own sub directory of parent class Jan 18, 2023
@skuzzle skuzzle added this to the 2.0.0 milestone Feb 27, 2023
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