Search Issue Tracker
Fixed
Fixed in 1.4.0
Votes
0
Found in [Package]
1.3.4
1.4.2
Issue ID
DSTR-804
Regression
Yes
Test Framework does not export the result XML file when running tests from the command line
Reproduction steps:
1. Extract the attached "FAV_repro_IN-38148(1.3.3).zip" project
2. Open the Command Line and navigate to the project's root folder
3. Run the command "PATHTOUNITYVERSION\Unity.exe -projectPath ./ -runTests"
4. Observe the project's root folder
Expected result: Test Result XML file is created
Actual result: Test Result XML file is not created
Reproducible with: 1.3.3, 1.3.4 (2021.3.23f1)
Not reproducible with: 1.1.33 (2020.3.47f1, 2021.3.23f1, 2022.2.16f1, 2023.1.0a19), 1.3.2 (2020.3.47f1, 2021.3.23f1, 2022.2.16f1, 2023.1.0b6, 2023.2.0a3), 1.3.3 (2020.3.47f1, 2022.2.16f1, 2023.1.0b13, 2023.2.0a11), 1.3.4 (2020.3.47f1, 2022.2.16f1, 2023.1.0b13, 2023.2.0a11), 2.0.1-pre.18 (2020.3.47f1, 2021.3.23f1, 2022.2.16f1)
Fixed in: 2.0.1-exp.1 (2021.3.23f1)
Could not test with: 2.0.1-exp.1, 2.0.1-pre.18 (2023.1.0b13, 2023.2.0a11) (Error CS0619)
Reproducible on: Windows 10
Notes:
- Only reproducible from the command line
- Produces error. Full error in internal notes
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Out of memory crash when selecting more than 80000 Assets simultaneously
- UI Toolkit Button text is not rendered when the Button has fixed height with specific Icon font
- Unable to bind RenderTexture to the VisualElement's StyleBackground property
- SVG fails to import when 'stroke-miterlimit' is less than 1
- Test Runner fails to create a script in the active path when selecting a file as the active path
Resolution Note (fix version 1.4.0):
The issue of runs in batch mode sometimes crashing when trying to write the xml file is fixed as part of refactorings in 1.4.0 and onwards.