Versions in this module Expand all Collapse all v0 v0.1.0 Feb 17, 2026 Changes in this version + func ComputeSuiteHash(prepared *PreparedSource) (string, error) + func CreateSuiteOutput(resultsDir, hash string, info *SuiteInfo, prepared *PreparedSource, ...) error + func GenerateAllSuiteStats(resultsDir string) (map[string]*SuiteStats, error) + func GenerateAllSuiteStatsFromS3(ctx context.Context, log logrus.FieldLogger, reader IndexObjectReader, ...) (map[string]*SuiteStats, error) + func GenerateJWTToken(secret string) (string, error) + func GenerateRunMarkdown(runDir, runID string, maxChars int) (string, error) + func GetGitCommitSHA(repoPath string) (string, error) + func WriteBlockLogsResult(resultsDir string, blockLogs map[string]json.RawMessage, ...) error + func WriteIndex(resultsDir string, index *Index, owner *fsutil.OwnerConfig) error + func WriteRunResult(resultsDir string, result *RunResult, owner *fsutil.OwnerConfig) error + func WriteStepResults(resultDir, testName string, stepType StepType, result *TestResult, ...) error + func WriteSuiteStats(resultsDir, suiteHash string, stats *SuiteStats, owner *fsutil.OwnerConfig) error + type AggregatedStats struct + Failed int + GasUsedTimeTotal int64 + GasUsedTotal uint64 + MethodStats *MethodsAggregated + ResourceTotals *ResourceTotals + Succeeded int + TotalMsgs int + TotalTime int64 + type BlockLogCollector interface + RegisterBlockHash func(testName, blockHash string) + type Config struct + CacheDir string + Filter string + GitHubToken string + ResultsDir string + ResultsOwner *fsutil.OwnerConfig + Source *config.SourceConfig + SystemResourceCollectionEnabled bool + type EESTSource struct + func NewEESTSource(log logrus.FieldLogger, cfg *config.EESTFixturesSource, ...) *EESTSource + func (s *EESTSource) Cleanup() error + func (s *EESTSource) GetGenesisGroups() []*GenesisGroup + func (s *EESTSource) GetGenesisPath(clientType string) string + func (s *EESTSource) GetGenesisPathForGroup(genesisHash, clientType string) string + func (s *EESTSource) GetSourceInfo() (*SuiteSource, error) + func (s *EESTSource) Prepare(ctx context.Context) (*PreparedSource, error) + type EESTSourceInfo struct + FixturesArtifactName string + FixturesArtifactRunID string + FixturesSubdir string + FixturesURL string + GenesisArtifactName string + GenesisArtifactRunID string + GenesisURL string + GitHubRelease string + GitHubRepo string + LocalFixturesDir string + LocalFixturesTarball string + LocalGenesisDir string + LocalGenesisTarball string + type ExecuteOptions struct + BlockLogCollector BlockLogCollector + ClientRPCRollbackSpec *clientpkg.RPCRollbackSpec + ContainerID string + DockerClient *client.Client + DropCachesPath string + DropMemoryCaches string + EngineEndpoint string + Filter string + JWT string + PostTestRPCCalls []config.PostTestRPCCall + RPCEndpoint string + ResultsDir string + RetryNewPayloadsSyncingConfig *config.RetryNewPayloadsSyncingConfig + RollbackStrategy string + Tests []*TestWithSteps + type ExecutionResult struct + ContainerDied bool + Failed int + Passed int + StatsReaderType string + TerminationReason string + TotalDuration time.Duration + TotalTests int + type Executor interface + ExecuteTests func(ctx context.Context, opts *ExecuteOptions) (*ExecutionResult, error) + GetSource func() Source + GetSuiteHash func() string + GetTests func() []*TestWithSteps + Start func(ctx context.Context) error + Stop func() error + func NewExecutor(log logrus.FieldLogger, cfg *Config) Executor + type GenesisGroup struct + GenesisHash string + Tests []*TestWithSteps + type GenesisGroupProvider interface + GetGenesisGroups func() []*GenesisGroup + GetGenesisPathForGroup func(genesisHash, clientType string) string + type GenesisProvider interface + GetGenesisPath func(clientType string) string + type GitSource struct + func (s *GitSource) Cleanup() error + func (s *GitSource) GetSourceInfo() (*SuiteSource, error) + func (s *GitSource) Prepare(ctx context.Context) (*PreparedSource, error) + type GitSourceInfo struct + PreRunSteps []string + Repo string + SHA string + Steps *SourceStepsGlobs + Version string + type Index struct + Entries []*IndexEntry + Generated int64 + func GenerateIndex(resultsDir string) (*Index, error) + func GenerateIndexFromS3(ctx context.Context, log logrus.FieldLogger, reader IndexObjectReader, ...) (*Index, error) + type IndexEntry struct + Instance *IndexInstance + RunID string + Status string + SuiteHash string + TerminationReason string + Tests *IndexTestStats + Timestamp int64 + TimestampEnd int64 + type IndexInstance struct + Client string + ID string + Image string + type IndexObjectReader interface + GetObject func(ctx context.Context, key string) ([]byte, error) + ListPrefixes func(ctx context.Context, prefix string) ([]string, error) + type IndexStepStats struct + Duration int64 + Fail int + GasUsed uint64 + GasUsedDuration int64 + ResourceTotals *ResourceTotals + Success int + type IndexStepsStats struct + Cleanup *IndexStepStats + Setup *IndexStepStats + Test *IndexStepStats + func AggregateStepStats(result *RunResult) (*IndexStepsStats, int, int) + type IndexTestStats struct + Steps *IndexStepsStats + TestsFailed int + TestsPassed int + TestsTotal int + type LocalSource struct + func (s *LocalSource) Cleanup() error + func (s *LocalSource) GetSourceInfo() (*SuiteSource, error) + func (s *LocalSource) Prepare(_ context.Context) (*PreparedSource, error) + type LocalSourceInfo struct + BaseDir string + PreRunSteps []string + Steps *SourceStepsGlobs + type MethodResourceStats struct + CPUUsec *MethodStats + DiskReadBytes *MethodStats + DiskReadOps *MethodStats + DiskWriteBytes *MethodStats + DiskWriteOps *MethodStats + type MethodStats struct + Count int64 + Last int64 + Max int64 + Mean int64 + Min int64 + P50 int64 + P95 int64 + P99 int64 + func (m *MethodStats) MarshalJSON() ([]byte, error) + type MethodStatsFloat struct + Count int64 + Last float64 + Max float64 + Mean float64 + Min float64 + P50 float64 + P95 float64 + P99 float64 + func (m *MethodStatsFloat) MarshalJSON() ([]byte, error) + type MethodsAggregated struct + MGasPerSec map[string]*MethodStatsFloat + Resources map[string]*MethodResourceStats + Times map[string]*MethodStats + type PostTestTemplateData struct + BlockHash string + BlockNumber string + BlockNumberHex string + type PreparedSource struct + BasePath string + PreRunSteps []*StepFile + Tests []*TestWithSteps + type ResourceDelta struct + CPUDeltaUsec uint64 + DiskReadBytes uint64 + DiskReadOps uint64 + DiskWriteBytes uint64 + DiskWriteOps uint64 + MemoryAbsBytes uint64 + MemoryDelta int64 + type ResourceTotals struct + CPUUsec uint64 + DiskReadBytes uint64 + DiskReadIOPS uint64 + DiskWriteBytes uint64 + DiskWriteIOPS uint64 + MemoryBytes uint64 + MemoryDelta int64 + type ResultDetails struct + DurationNS []int64 + FilenameHash string + GasUsed map[int]uint64 + MGasPerSec map[int]float64 + OriginalTestName string + Resources map[int]*ResourceDelta + Status []int + type RunDuration struct + Client string + GasUsed uint64 + ID string + RunEnd int64 + RunStart int64 + Steps *RunDurationStepsStats + Time int64 + type RunDurationStepStats struct + GasUsed uint64 + Time int64 + type RunDurationStepsStats struct + Cleanup *RunDurationStepStats + Setup *RunDurationStepStats + Test *RunDurationStepStats + type RunResult struct + PreRunSteps map[string]*StepResult + Tests map[string]*TestEntry + func GenerateRunResult(resultsDir string) (*RunResult, error) + type Source interface + Cleanup func() error + GetSourceInfo func() (*SuiteSource, error) + Prepare func(ctx context.Context) (*PreparedSource, error) + func NewSource(log logrus.FieldLogger, cfg *config.SourceConfig, ...) Source + type SourceStepsGlobs struct + Cleanup []string + Setup []string + Test []string + type StepFile struct + Name string + Path string + Provider StepProvider + type StepProvider interface + Content func() []byte + Lines func() []string + type StepResult struct + Aggregated *AggregatedStats + type StepType string + const StepTypeCleanup + const StepTypePreRun + const StepTypeSetup + const StepTypeTest + type StepsResult struct + Cleanup *StepResult + Setup *StepResult + Test *StepResult + type SuiteFile struct + OgPath string + type SuiteInfo struct + Filter string + Hash string + PreRunSteps []SuiteFile + Source *SuiteSource + Tests []SuiteTest + type SuiteSource struct + EEST *EESTSourceInfo + Git *GitSourceInfo + Local *LocalSourceInfo + type SuiteStats map[string]*TestDurations + type SuiteTest struct + Cleanup *SuiteFile + EEST *SuiteTestEEST + GenesisHash string + Name string + Setup *SuiteFile + Test *SuiteFile + type SuiteTestEEST struct + Info *eest.FixtureInfo + type TestDurations struct + Durations []*RunDuration + type TestEntry struct + Dir string + FilenameHash string + Steps *StepsResult + type TestResult struct + Failed int + GasUsed map[int]uint64 + MGasPerSec map[int]float64 + MethodCPUUsec map[string][]int64 + MethodDiskReadBytes map[string][]int64 + MethodDiskReadOps map[string][]int64 + MethodDiskWriteBytes map[string][]int64 + MethodDiskWriteOps map[string][]int64 + MethodMGasPerSec map[string][]float64 + MethodTimes map[string][]int64 + Resources map[int]*ResourceDelta + Responses []string + Statuses []int + Succeeded int + TestFile string + Times []int64 + func NewTestResult(testFile string) *TestResult + func (r *TestResult) AddResult(method, request, response string, elapsed int64, succeeded bool, ...) + func (r *TestResult) CalculateStats() *AggregatedStats + type TestWithSteps struct + Cleanup *StepFile + EESTInfo *eest.FixtureInfo + GenesisHash string + Name string + Setup *StepFile + Test *StepFile