Search Issue Tracker
Fixed in 2017.2.0f3
Won't Fix in 5.6.X
Fixed in 2017.1.X, 2017.2.X
Votes
8
Found in
5.6.1p3
Issue ID
926540
Regression
Yes
[Unity Test Runner] Unity Test Runner no longer shows tests contained inside custom assemblies
Since Unity 5.6 and the new runner, NUnit tests contained within custom assemblies are no longer able to be used by the runner.
To repro:
1) Open attached project
2) See in Test Runner Window that only the tests in the two CS scripts are shown. It should instead also show the tests contained within the DLLs.
More info:
- MorePlayModeTests.dll contains more play mode tests: MorePlayModeTests.Tests.PlayModeTestsSimplePasses and MorePlayModeTests.Tests.PlayModeTestsWithEnumeratorPasses
- MoreEditModeTests.dll contains MoreEditModeTests.Tests.AnotherEditModeTestsSimplePasses and MoreEditModeTests.Tests.AnotherEditModeTestsWithEnumeratorPasses
- NoPlayModeTests.dll contains no tests. Contains Clicker MonoBehaviour class and a Frog class (not MonoBehaviour).
- NoEditModeTests.dll contains no tests. Contains DatabaseChecker class with CheckDatabase method, MenuItem ("Example/Check Database").
There are also two scripts containing tests. PlayModeTests.cs and EditModeTests.cs.
Only the tests from the two cs scripts show in the Test Runner.
.mdb files are included for each DLL.
Comments (1)
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
- Longer Add Component submenu labels obscure UI and are not truncated
- Scripts submenu of the Add Component Menu can be scrolled horizontally
- Documentation link icons' are not aligned in he "Recommendation" tab
- "Game Specifications" section becomes blank, and users get "ArgumentException: Cannot unschedule unknown scheduled function" during the "Game Specification" selection when the "Multiplayer Center" window is docked
- Foldout arrow indent is misaligned in the Inspector when used in Custom Type
pahe
Oct 30, 2017 14:19
Question is, how to get the fix for 5.6 if you can't update to 2017.2?