I'm thinking about where to put the unit/integration test project. I follow the 1 test project pr. project convention
I can think of 3 ways, that all seems good to me, which make it kind of hard to choose :-)
What you choose and why?
Option 2 is my preferred one. Aside from anything else, it's just the default when you create a new class library project - it's under the same solution directory as the production project(s).
To counter the argument about checking out a project without its tests, I find it relatively rare to check out just a project rather than a whole solution. If you're a more "project-based" than "solution-based" shop, that could change things.
I like to have all projects in the same level physically. I have no big argument, just for simplicity. After all visual studio shows all projects in the same level.
.../Project/Project.Web/ .../Project/Project.Model/ .../Project/Project.DataAccess/ .../Project/Project.UnitTest/ etc
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With