AdamsLair / duality

a 2D Game Development Framework
https://adamslair.github.io/duality
MIT License
1.41k stars 290 forks source link

Unit tests not working in VS2017 #716

Closed Barsonax closed 5 years ago

Barsonax commented 5 years ago

Summary

VS2017 is unable to discover the unit tests in duality

How to reproduce

EDIT: updating to nunit 3.x fixes this issue. This probably might have to do with nunit 2.x being really old and the visual studio test discovery changed somewhere around v15.6 to be roslyn based.

ilexp commented 5 years ago

A workaround without code changes is to install the NUnit 2.X test adapter extension into Visual Studio. It seems to no longer be enough to install the adapter package as a dependency of the actual test projects.

ilexp commented 5 years ago

Addressed by @Barsonax and me in PR #717. Closing this.