Are C# namespaces hierarchical?
Background: I'm developing a test framework and I have per-namespace setup fixtures. e.g. a SetUpFixture in namespace A and one in namespace A.B.
Actual question:
If I call TestRunner.RunAllTestsInNamespace("A.B")
- should the test runner only call the SetUpFixture in namespace A.B or also the one in namespace A?
(or the other way round: If I call TestRunner.RunAllTestsInNamespace("A")
- should the test runner also execute all the tests in namespace A.B?