TestIntelligenceResult class

Complete test intelligence result containing gap analysis, tracking snapshot, and proposals.

Constructors

TestIntelligenceResult({required String packageId, required bool isSuccess, required List<TargetCoverageGapReport> gapReports, required List<TrackedTestCase> trackedSuite, List<ProposedTestFile> proposals = const [], required String summary, required int durationMs, required DateTime timestamp, String? errorMessage})
const
TestIntelligenceResult.failure({required String packageId, required String errorMessage, int durationMs = 0, DateTime? timestamp})
factory

Properties

durationMs → int
Duration in milliseconds.
final
errorMessage → String?
Error message if execution failed.
final
existingCoverage → List<TrackedTestCase>
Computes existing verified tests (excluding unapproved suggested proposals).
no setter
gapReports → List<TargetCoverageGapReport>
Target-by-target coverage gap reports.
final
hashCode → int
The hash code for this object.
no setterinherited
isSuccess → bool
Whether the test intelligence run succeeded.
final
packageId → String
Target package or project analyzed.
final
proposals → List<ProposedTestFile>
Proposed isolated test files (if generation was requested).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
suggestedCoverage → List<TrackedTestCase>
Computes suggested candidate proposals waiting for human approval.
no setter
summary → String
High-level summary of test coverage intelligence.
final
timestamp → DateTime
Timestamp.
final
trackedSuite → List<TrackedTestCase>
Queryable tracking state of tests.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited