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
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)
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
- Inaccurate Box Collider boundaries on a rotated child Cube when the parent GameObject Scale is non-uniform
- [Android] "SHADOWS_SCREEN" set as shader Keyword when no "_ShadowMapTexture" is bound leads to freeze on a build on some Mali GPU devices
- Constant console errors when using Min/Max Slider in PlayMode
- The global scene list is overridden in a project built with command line when the Override Global Scene List setting is disabled in the build profile
- [Linux] AutoLocale log is logged when opening a project
Resolution Note:
Issue due to version conflicts between Entities and Data Flow Graph packages. Resolved by using compatible versions.