Is there a way to UnitTest a Class Library (Universal Windows) without testing a whole application?
问题 I need to UnitTest a Class Library (Universal Windows) , but from the "Add New Project" windows, I just see this: This project runs all tests with the App Container, it always opens an App. Since I don't need all that overhead, I would like to know if is there a way to Unit Test just the UWP library. 回答1: The quick answer is that if you need to test UI related classes you'll need to use this kind of "unit test". However if you have logic which you want to test - extract it to a portable