jeudi 30 avril 2015

Do I really need a unit test project for mstest to discover my unit tests?

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?

Aucun commentaire:

Enregistrer un commentaire