views:

71

answers:

2

Is it ok to have integration tests and unit tests in one assembly (project) ? Or rather have them separate ?

+8  A: 

Personally I prefer to put them into separate assemblies. During continuous integration builds it is easier to distinguish between them because tools can be configured to execute all tests in a given assembly and you could for example want to run only unit tests or only integration tests which might take more time.

Darin Dimitrov
It's also useful conceptually, helping to keep straight in your head which type of test you're writing or running.
Rodney Gitzel
A: 

Dedicated test suites will do without multiplying projects.

grigory