Suppose I have some Modules that each are their own component
I would now have different Testprojects spanning different modules. UnitB_UnitTest, UnitC_UnitTest, GUI_UnitB_ComponentTest, GUI_UnitB_UnitC_HDD_SystemTest
If I concatenate every Modulename involved in a Test with underscore the names will get huge and different ordering would make them not unique.
How should you name the different testing projects?
(1a) What is a “project” in this context?
When I think about this I actually think about Visual Studio Projects. I could further group them into Solutions, but that to my mind only makes sense for Units and their Unit_Tests.
(1b) What kind of test framework are you using (e.g. an xUnit-style framework)?
Yes, xUnit. For C# i would use NUnit, for C++ i would either go with googletest or boost::test.
(2) Why don't you put the unit tests into the same project as the module they are testing?
It makes total sense to group unit tests ans units. But that once you start with integration tests you could start to run into issues. You could logically group them but what would your naming be then?
(3) Why don't you have a single project for all integration tests?
What advantages does it have to separate the GUI–Unit B integration tests from GUI–Unit C into separate projects?
I did not think about that but my gut tells me that this may be a problem when different teams work on the same CI system.