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

snap.debug being produced due to running one single test instead of entire class #179

Open
deeTEEcee opened this issue Jan 7, 2025 · 0 comments

Comments

@deeTEEcee
Copy link

Here's a couple of cases related to what I'm describing:

  1. Run MainTest.java and it produces MainTest.snap. Afterwards, run a single function test inside MainTest.java and it produces MainTest.snap.debug with only the results from that function.
  2. The reverse order of case 1. Run test MainTest.java but only for a single function and it produces MainTest.snap. Run MainTest.java for the entire class and it cleans the existing snap file and adds new functions to it.

Case 1 seems like it should not create a snap.debug file. It created a snap.debug despite the results being the same and possibly only because it was testing a single function. Case 2 is behaving as I would expect.

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

No branches or pull requests

1 participant