Search Issue Tracker
Fixed in 2.0.1-pre12
Votes
0
Found in [Package]
1.1.30
Issue ID
1395077
Regression
No
A test is called twice when [UnitySetUp] attribute is used
How to reproduce:
1. Open the attached project "UnityTestsDoubleSetup.zip"
2. Open Window > General > Test Runner
3. In the Test Runner window press Run All button
4. Observe Console window
Expected result: "Setup" is printed once
Actual result: "Setup" is printed twice
Reproducible with: 1.1.29 (2021.2.10f1), 1.1.30 (2022.1.0b7, 2022.2.0a5)
Not reproducible with: 2.0.1-pre12 (2019.4.35f1), 2.0.1-pre18 (2020.3.27f1)
Note: A test is printing to the console "Setup" which should run only once
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Mobile] Developer Console does not appear when an error is thrown
- [HDRP] Game view renders artifacts when Camera's Component "Post Anti-aliasing" is set to "TAA" and Dynamic Resolution's "Forced Screen Percentage" is changed
- A deactivated Prefab's name color becomes white when a GameObject in the scene is deactivated
- The Game view becomes blank when using Frame Debugger with MSAA and Texture binding enabled in Play Mode
- NullReferenceException is thrown when changing the Inspector preview selection
Add comment