Got a question or two about the Unity Test Tools deprecation in Unity 5.6.
One of the sample scripts in the Asset Store package uses the [ExpectedException] attribute, which no longer compiles in Unity 5.6. With some Googling, I learned that Unity 5.6 upgraded to NUnit 3, which removes that attribute.
So then I investigated Unity Test Tools to see if it would be updated on the Asset Store to be 5.6 compatible, which is when I stumbled across the Bitbucket for the package, announcing that Unity Test Tools is no longer supported in favor of a new built-in “Editor Test Runner” in Unity 5.6.
But when I look up the documentation for 5.6’s Editor Test Runner, it says:
So I’m wondering if somebody can clarify: is there a contradiction here or am I misunderstanding? If Unity 5.6 ships with NUnit 3, can the built-in test runner feature still be based on NUnit 2.6.4? If Unity uses NUnit 2.6.4, why doesn’t NUnit < 3.0 code compile, such as the ExpectedException attribute or Asset.IsNotNullOrEmpty?