Unreal engine not detecting my cpp Tests

Hello, guys.

I am studying a cpp project and want to code some tests. I tried .spec.cpp and Test.cpp files, added them from the visual studio, coded a simple test. But I can’t run them either by VS or by Session Frontend of UE Editor.

In VS these UE Integration Configuration are installed:
Visual Studio Integration Tool
Blueprint Support
Unreal Engine Test Adapter

In UE, the test plugins are enabled.
Here are the codes from my test files:

IMPLEMENT_SIMPLE_AUTOMATION_TEST(
	FPlaceholderTest,
	"TestGroup.TestSubgroup.Placeholder Test",
	EAutomationTestFlags::EditorContext | EAutomationTestFlags::EngineFilter
)

bool FPlaceholderTest::RunTest(const FString& Parameters)
{
	// Make the test pass by returning true, or fail by returning false.
	return true;
}
#if WITH_AUTOMATION_TESTS

#include "Misc/AutomationTest.h"

BEGIN_DEFINE_SPEC(
    FUsableItemObjectInventorySpec,
    "Example",
    EAutomationTestFlags::EditorContext | EAutomationTestFlags::ProductFilter
);

END_DEFINE_SPEC(FUsableItemObjectInventorySpec);

void FUsableItemObjectInventorySpec::Define()
{
    Describe("FUsableItemObjectInventorySpec", [this]()
    {
        It("Should initialize a empty inventory on creation", [this]()
        {
            TestTrue("MakeSomethingHappen", true);
        });
    });
}

#endif

I am using UE 5.3.
Thanks.