Visual Studio 2017 Test Trader Discovery: Shows More Than TestCategory ()

In VS2017, all attributes seem to show up in the Traits view of Test Explorer. See below code and test explorer window. There used to be so many attributes to show up first. Does anyone know if there is a way to prevent VS from detecting attributes that shouldn't be there? There is no way the description () and WorkItem () displayed in the test window help. Each test will have a different description and then your test researcher will bloat. Perhaps this is a mistake ...

code:

    [TestCategory("Design - Login - Negative")]
    [TestCategory("Design")]
    [TestCategory("Negative")]
    [Description("Bob")]
    [WorkItem(7280), TestMethod]
    public async Task GetToken_Failure()
    {...}

      

Test conductor results:

enter image description here

+3


source to share


1 answer


MS probably agreed that this was a bug as this no longer happens in VS 2017 community 15.3.5



0


source







All Articles