-
|
I am currently working on adding Unit Testing to my code and am running into race conditions. I followed the docs on how to set up the test with the container, but still the tests seem to share the same container. Here is an example of my unit test. Test 1 always succeeds. Tests 2 and 3 are the ones that seem to share the same container. One of them consistently fails, and it switches between the two. Is there some step I missed or is this a bug? For context, here is the |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
No clue. Please provide the missing Factory definition and enough code (mock or otherwise) to be able to run the tests as shown. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.

Thank you for your time. I should have specified more about it and which Factory version I was using. Turns out it didn't work in 2.5.1, but when updating to 2.5.3, it works. Now on to more testing, thanks again!