JohnnyHendriks / TestAdapter_Catch2

Visual Studio Test Adapter for Catch2
MIT License
105 stars 28 forks source link

Visual Studio stuck when click test case #57

Closed zhoujinhai closed 2 years ago

zhoujinhai commented 2 years ago

question

The visual studio was stuck when I am click the test case

envs

details

I have writed the test.cpp, and follow the Tutorial to use TestAdapter_Catch2, The windows shows the all test cases, when I click the io, this two cases were runs, but when I click the Fisrt or Second the VS2019 has stuck.

#define CATCH_CONFIG_MAIN
#include <catch.hpp>

TEST_CASE("core::io::First", "[test]")
{
    int a = 1;
    REQUIRE(a == 1);
}

TEST_CASE("core::io::Second", "[test]")
{
    int a = 1;
    REQUIRE(a == 2);
}

image

JohnnyHendriks commented 2 years ago

I have tried to reproduce, but everything seems to work just fine on my machine. If the test executable works fine on the commandline for you, then it should work fine in the test explorer as well. Then again I'm using visual studio configured with the English language. As far as I can tell this seems to be a problem with Visual Studio to me and not with the test adapter. Sorry I cannot be of more help.

zhoujinhai commented 2 years ago

您的邮件已收到 谢谢