Inherited test class from generic base is ignored in MSTest

后端 未结 4 726
死守一世寂寞
死守一世寂寞 2021-01-04 00:14

When creating a generic base test class in MSTest, and inheriting from it, I\'m unable to run the tests of all the inheriting classes.

4条回答
  •  臣服心动
    2021-01-04 00:58

    This has been fixed, and is shipping in the 1.1.17 release here:

    Framework: https://www.nuget.org/packages/MSTest.TestFramework/1.1.17

    Adapter: https://www.nuget.org/packages/MSTest.TestAdapter/1.1.17

    References:

    1. GitHub issue: https://github.com/Microsoft/testfx/issues/23
    2. UV item: https://visualstudio.uservoice.com/forums/330519-team-services/suggestions/6030736-support-test-inheritance-for-base-classes-in-differ

提交回复
热议问题