TestStore runs not being atomic #3811
Replies: 2 comments
-
|
@luismachado-sumer You'll need to provide a project reproducing the issue for us to determine if this is a library issue and help you debug the problem. In the code sample above the two test stores should be fully independent, and as far as XCTest is concerned, the tests are run in entirely different subprocesses, isolated from one another, so there should definitely be no influence between the tests, and whatever you're seeing is probably an entirely different problem. |
Beta Was this translation helpful? Give feedback.
-
|
@luismachado-sumer I'm going to convert this to a discussion since at the moment it's not clear whether this is a bug or not. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
Stumbling into a bit of an weird issue.
If I run these two test separately they both work. However, if I run the full TestCase the 2nd one fails (seemingly picking up an event from the first test).
Shouldn't the TestStore runs be atomic? Any suggestions on what to try?
Checklist
mainbranch of this package.Expected behavior
No response
Actual behavior
No response
Reproducing project
No response
The Composable Architecture version information
No response
Destination operating system
No response
Xcode version information
Xcode 16.4
Swift Compiler version information
Beta Was this translation helpful? Give feedback.
All reactions