github.com/onflow/flow-go@v0.35.7-crescendo-preview.23-atree-inlining/tools/test_monitor/common/level3.go (about)

     1  package common
     2  
     3  // models full level 3 summary of a test run from 1 (single) level 2 test run
     4  type Level3Summary struct {
     5  	Exceptions []Level2TestResult `json:"exceptions"`
     6  
     7  	// ordered list of tests (from level 2 summary) that:
     8  	// a) met minimum failure threshold as specified in property file property `failures_threshold_percent`
     9  	// b) is up to maximum slice size as specified in `failures_slice_max` in property file
    10  	MostFailures []Level2TestResult `json:"most_failures"`
    11  
    12  	// total # of tests (from level 2 summary) that:
    13  	// a) met minimum failure threshold as specified in property file property `failures_threshold_percent`
    14  	MostFailuresTotal int `json:"most_failures_total"`
    15  
    16  	// ordered list of tests (from level 2 summary) that:
    17  	// a) met minimum duration threshold as specified in property file property `duration_threshold_seconds`
    18  	// b) is up to maximum slice size as specified in `duration_slice_max` in property file
    19  	LongestRunning []Level2TestResult `json:"longest_running"`
    20  
    21  	// total # of tests (from level 2 summary) that:
    22  	// a) met minimum duration threshold as specified in property file property `duration_threshold_seconds`
    23  	LongestRunningTotal int `json:"longest_running_total"`
    24  }