答案 0 :(得分:0)
you should be able to do that in old project types but in the new asp.net 5 core clr type projects there is not option for this. in a future tooling update the add tests option will be enabled in asp.net 5/dnx project creation templates. But you can add them manually, the new pattern uses xunit and a test project is just a class library package project. See Getting Started with xUnit and DNX