Built tests are not added to the Visual Studio Test Explorer window

前端 未结 10 2283
忘了有多久
忘了有多久 2020-12-14 08:13
  1. I set up the SpecFlow plug-in for the Visual Studio 2013.
  2. I created new Feature Item and build it.

Result: built test is not shown in the Test

10条回答
  •  隐瞒了意图╮
    2020-12-14 08:29

    Visual Studio can change the default processor architecture when it loads. While looking endlessly trying to figure out the issue, I finally figured it out, that it wasn't really Specflow causing the issue.

    If you have references that require a special architecture, it will prevent the tests from showing up in the test explorer. Change the architecture to x86 or x64 based on your needs.

    Another thing you can do to see the build issues is open the Output window and change the dropdown to Tests during build. It will highlight any information of things taking place during your build.

    I felt somebody should mention it just in case.

提交回复
热议问题