Is it ok to have integration tests and unit tests in one assembly (project) ? Or rather have them separate ?
Asked
Active
Viewed 876 times
1 Answers
9
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
- 1,023,142
- 271
- 3,287
- 2,928
-
It's also useful conceptually, helping to keep straight in your head which type of test you're writing or running. – Rodney Gitzel Oct 13 '10 at 20:46
-
+1 for *"tools can be configured to execute all tests in a given assembly"*, especially with Jenkins CI & CD jobs. – datps Apr 04 '16 at 15:29