Search Issue Tracker

Won't Fix

Votes

0

Found in

2019.3

2019.3.6f1

2020.1

2020.2

Issue ID

1233494

Regression

No

Command line testing in batchmode with legacy -runEditorTests is not equivalent to -runTests -testPlatform EditMode

Unity Test Runner

-

How to reproduce:
1. Download tester-submitted project (MainProject.zip)
2. Make sure the Library folder is not present in the root project folder
3. Run Unity via Terminal with the following arguments: -runTests -testPlatform EditMode -batchmode -projectPath <path> -logFile <path>
4. Execute 'echo $?' - note that it returns 1; note that test results xml is not generated
5. Remove the Library folder from the project's root folder
6. Run Unity via Terminal with the following arguments: -runEditorTests -batchmode -projectPath <path> -logFile <path>
7. Execute 'echo $?' - note that it returns 0; note that test results xml is generated

Expected result: -runTests -testPlatform EditMode is equivalent to -runEditorTests
Actual result: -runTests -testPlatform EditMode works different from -runEditorTests

Reproducible with: 2019.3.0b9, 2019.3.9f1, 2020.1.0b4, 2020.2.0a5
Could not test with: 2017.4.39f1, 2018.4.20f1, 2019.3.0b8(packages necessary for showcasing the issue incompatible)

  1. Resolution Note:

    Issue due to version conflicts between Entities and Data Flow Graph packages. Resolved by using compatible versions.

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.