- Home /
Can I run Unit Tests in Visual Studio using the Unity Test Tools?
It seems, when using Unity Test Tools, unit tests in the project are no longer discovered by the NUnit Test Adapter for Visual Studio. However, I would like to use the VS-built-in test runner for some of my tests, as they are asynchronous tests and the editor test runner does not really support them. Is there any way to get it to work with Unity Test Tools again?
My Test Explorer window in Visual Studio (2015) always comes up empty despite me having all my tests in the project.
The Editor Test Runner in Unity shows all the tests, however, the async ones are not run correctly - it expects an ExpectedResult
:
Method has non-void return value, but no result is expected
Is there anyone who could provide som guidance? I'm pretty clueless right now. (and yes, I'm using .NET 4.6)
Your answer
Follow this Question
Related Questions
Setting App Compatibility level to 4.6, not 4.x 0 Answers
Can Unity 5.6's Test Runner optionally output NUnit 2 xml format? 2 Answers
How can I run Unity tests with some defined nUnit category 2 Answers
How to implement mandatory cleanup for the Unity PlayMode tests? 1 Answer
Change the maximum length of a method name in the Test Runner Editor 0 Answers