Comment 8 for bug 548841

Revision history for this message
Kuno Meyer (kuno-meyer) wrote :

Then there is still a bug left, since running my test case above (leaving away the [Explicit] attribute) with "/include=T /exclude=B" still executes TestA(), which should be (according your statement) only be marked with category name "A", but not with category name "T".

Personally, I think that this overriding-instead-of-inheriting strategy of category names is bad behavior and very unintuitive. With assigning category names you make statements about individual aspects of a test/test fixture. These statements are normally not exclusive. (For example: "This fixture needs external hardware", "This test is very time consuming", "This is an entry-level test", ...). On the other hand, you can of course always argue with splitting up the fixture into several smaller ones and into different assemblies.