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

Package: Test-Framework

-

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

  1. 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.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.