Normally we work with one Visual Studio solution that contains the product project and the unit testing project.
Our unit testing project is growing fast (2000+ unit tests) and it becomes slow to load/rebuild and difficult to browse. Consider also that – AFAIK – in Visual Studio 2012 test categories are not visible anymore.
We are thinking to split it in multiple unit testing projects:
- Would it be possible to load multiple unit test projects in the same Visual Studio solution?
- What is the best approach when the number of unit tests grows so much?
Thanks.
There is no problem about this, you can have more than one unit test project
The first and natural approach is to have one unit test project for each project on your solution. If you have a single project on the solution, maybe that’s where you need to start the refactoring.