How to unit test a Windows 10 app in Visual Studio? -
how can unit test windows 10 app in visual studio 2015?
i created blank app universal windows project , added new unit test project solution, when try add reference uwp app in test project, error saying 'unable add reference project "project name"'.
right click on solution , choose add > new project
. select unit test app (windows universal)
. make sure don't select unit test library
or unit test project
. must universal one. should generate base class work with.
you'll want add reference main project. this, right click on test project , select add > reference
, choose main project. should able create classes main project test.
Comments
Post a Comment