Interface ITestResultCollector
- All Known Implementing Classes:
MavenTestResultCollector,UnifiedTestResultCollector
public interface ITestResultCollector
Core interface for test result collection without Gradle dependencies.
This interface allows for different implementations for Gradle and Maven environments.
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddResult(UnifiedTestResult result) Adds a test result to the collection.Gets all collected test results.booleanChecks if a result exists for the specified test.
-
Method Details
-
addResult
Adds a test result to the collection.- Parameters:
result- the test result to add
-
getResults
List<UnifiedTestResult> getResults()Gets all collected test results.- Returns:
- list of all test results
-
hasResult
Checks if a result exists for the specified test.- Parameters:
className- the test class nametestName- the test method name- Returns:
- true if a result exists for this test
-