Documentation
¶
Overview ¶
Package gtest implements Google Test framework support for C++ test files.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDefinition ¶
func NewDefinition() *framework.Definition
Types ¶
type GTestContentMatcher ¶
type GTestContentMatcher struct{}
GTestContentMatcher matches Google Test-specific patterns in file content. It detects gtest includes, TEST/TEST_F/TEST_P macros, and ::testing::Test base classes.
func (*GTestContentMatcher) Match ¶
func (m *GTestContentMatcher) Match(ctx context.Context, signal framework.Signal) framework.MatchResult
type GTestFileMatcher ¶
type GTestFileMatcher struct{}
GTestFileMatcher matches C++ test file naming conventions used by Google Test. It recognizes patterns like *_test.cc, *_unittest.cpp, *Test.cc, and files in test directories.
func (*GTestFileMatcher) Match ¶
func (m *GTestFileMatcher) Match(ctx context.Context, signal framework.Signal) framework.MatchResult
Click to show internal directories.
Click to hide internal directories.