I want to have the following architecture:
- Stories (folder)
- CreateUser (class library)
Dependencies
View
ViewModel
Repository
Tests
- ShareStatusUpdate (class library)
Dependencies
View
ViewModel
Repository
Tests
I do not want to create a separate test project for my unit tests. Instead, I would rather couple my test to my class library as a first-class citizen.
Is it possible to add test classes to a class library and have the ability to execute those tests?
尝试修改您的.csproj以为测试项目添加此ProjectTypeGuid
: {3AC096D0-A1C2-E12C-1390-A8335801FDAB}
。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.