Documentation
¶
Index ¶
- Constants
- func Max(a, b int64) int64
- func Min(a, b int64) int64
- type AttachmentsContainerPlugin
- type AttachmentsPlugin
- type BehaviorsCsvData
- type BehaviorsData
- type BehaviorsPlugin
- type CategoriesPlugin
- type Category
- type CategoryData
- type Duration
- type DurationData
- type DurationPlugin
- type DurationTrendItem
- type EnvironmentItem
- type EnvironmentPlugin
- type ExecutorInfo
- type ExecutorPlugin
- type ExecutorState
- type FixturePlugin
- type GroupTime
- type HistoryData
- type HistoryItem
- type HistoryPlugin
- type HistoryState
- type HistoryTrendItem
- type PackagesData
- type PackagesPlugin
- type SeverityData
- type SeverityPlugin
- type SuitesData
- type SuitesPlugin
- type SummaryData
- type SummaryPlugin
- type TagsPlugin
- type TimelineData
- type TimelinePlugin
Constants ¶
View Source
const ( BehaviorsExtraBlockName = "behaviors" BehaviorsJsonFileName = "behaviors.json" BehaviorsCsvFileName = "behaviors.csv" BehaviorsEpicLabelName = "epic" BehaviorsFeatureLabelName = "feature" BehaviorsStoryLabelName = "story" )
View Source
const ( CategoriesExtraBlockName = "categories" CategoriesJsonFileName = "categories.json" CategoriesCsvFileName = "categories.csv" CategoriesTrendJsonFileName = "categories-trend.json" )
View Source
const ( DurationTrendKey = "duration" DurationExtraBlockName = "categories" DurationJsonFileName = "duration.json" DurationTrendJsonFileName = "duration-trend.json" )
View Source
const ( EnvironmentPropertiesFileName = "environment.properties" EnvironmentJsonFileName = "environment.json" )
View Source
const ( ExecutorExtraBlockName = "executor" ExecutorJsonFileName = "executors.json" )
View Source
const ( HistoryExtraBlockName = "history" HistoryJsonFileName = "history.json" HistoryTrendJsonFileName = "history-trend.json" )
View Source
const ( PackagesExtraBlockName = "packages" PackagesLabelName = "package" PackagesJsonFileName = "packages.json" )
View Source
const ( SeverityLabelName = "severity" SeverityExtraBlockName SeverityJsonFileName = "severity.json" ChartJsonFileName = "status-chart.json" )
View Source
const ( SuitesExtraBlockName = "suites" SuitesJsonFileName = "suites.json" SuitesCsvFileName = "suites.csv" SuitesParentSuiteLabelName = "parentSuite" SuitesSuiteLabelName = "suite" SuitesSubSuiteLabelName = "subSuite" )
View Source
const ( SummaryJsonFileName = "summary.json" DefaultReportName = "Allure Report" )
View Source
const ( TagLabelRegexp = "^@?allure\\.label\\.(?<name>.+)[:=](?<value>.+)$" TagExtraBlockName = "tags" TagLabelName = "tag" )
View Source
const ( TimelineExtraBlockName = "timeline" TimelineJsonFileName = "timeline.json" TimelineHostLabelName = "host" TimelineThreadLabelName = "thread" )
View Source
const (
Name = "Containers"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AttachmentsContainerPlugin ¶
type AttachmentsContainerPlugin struct {
AttachmentsPlugin
}
func (*AttachmentsContainerPlugin) Process ¶
func (p *AttachmentsContainerPlugin) Process(ctx context.Context, t *common.TestResultContainer)
type AttachmentsPlugin ¶
type AttachmentsPlugin struct {
// contains filtered or unexported fields
}
func (*AttachmentsPlugin) Merge ¶
func (p *AttachmentsPlugin) Merge(_ context.Context, index int, threadResults []*common.PluginResult, out *common.PluginResult) error
func (*AttachmentsPlugin) Process ¶
func (p *AttachmentsPlugin) Process(ctx context.Context, t *common.Test)
func (*AttachmentsPlugin) SendState ¶
func (p *AttachmentsPlugin) SendState() any
type BehaviorsCsvData ¶
type BehaviorsCsvData struct {
// contains filtered or unexported fields
}
type BehaviorsData ¶
type BehaviorsData struct {
// contains filtered or unexported fields
}
type BehaviorsPlugin ¶
type BehaviorsPlugin struct {
// contains filtered or unexported fields
}
func (*BehaviorsPlugin) Merge ¶
func (p *BehaviorsPlugin) Merge(ctx context.Context, index int, threadResults []*common.PluginResult, _ *common.PluginResult) error
func (*BehaviorsPlugin) Process ¶
func (p *BehaviorsPlugin) Process(ctx context.Context, t *common.Test)
func (*BehaviorsPlugin) SendState ¶
func (p *BehaviorsPlugin) SendState() any
type CategoriesPlugin ¶
type CategoriesPlugin struct {
// contains filtered or unexported fields
}
func (*CategoriesPlugin) Merge ¶
func (p *CategoriesPlugin) Merge(ctx context.Context, index int, threadResults []*common.PluginResult, _ *common.PluginResult) error
func (*CategoriesPlugin) Process ¶
func (p *CategoriesPlugin) Process(ctx context.Context, t *common.Test)
func (*CategoriesPlugin) ReadState ¶
func (p *CategoriesPlugin) ReadState(ctx context.Context) error
func (*CategoriesPlugin) SendState ¶
func (p *CategoriesPlugin) SendState() any
type Category ¶
type Category struct {
Name string `json:"name,omitempty"`
Description string `json:"description,omitempty"`
DescriptionHtml string `json:"descriptionHtml,omitempty"`
MessageRegex string `json:"messageRegex,omitempty"`
TraceRegex string `json:"traceRegex,omitempty"`
MatchedStatuses []string `json:"matchedStatuses,omitempty"`
Flaky bool `json:"flaky,omitempty"`
}
func BrokenTests ¶
func BrokenTests() *Category
func FailedTests ¶
func FailedTests() *Category
type CategoryData ¶
type CategoryData struct {
// contains filtered or unexported fields
}
type Duration ¶
type Duration struct {
Uid string `bson:"uid"`
Name string `json:"name,omitempty"`
Time *common.Time `json:"time,omitempty"`
Status string `json:"status,omitempty"`
Severity string `json:"severity,omitempty"`
}
func DurationFromTest ¶
type DurationData ¶
type DurationData struct {
// contains filtered or unexported fields
}
type DurationPlugin ¶
type DurationPlugin struct {
// contains filtered or unexported fields
}
func (*DurationPlugin) Merge ¶
func (p *DurationPlugin) Merge(ctx context.Context, index int, threadResults []*common.PluginResult, out *common.PluginResult) error
func (*DurationPlugin) Process ¶
func (p *DurationPlugin) Process(ctx context.Context, t *common.Test)
func (*DurationPlugin) SendState ¶
func (p *DurationPlugin) SendState() any
type DurationTrendItem ¶
type EnvironmentItem ¶
type EnvironmentPlugin ¶
type EnvironmentPlugin struct {
}
func (*EnvironmentPlugin) Merge ¶
func (p *EnvironmentPlugin) Merge(ctx context.Context, _ int, _ []*common.PluginResult, out *common.PluginResult) error
func (*EnvironmentPlugin) Process ¶
func (p *EnvironmentPlugin) Process(ctx context.Context, t *common.Test)
func (*EnvironmentPlugin) SendState ¶
func (p *EnvironmentPlugin) SendState() any
type ExecutorInfo ¶
type ExecutorInfo struct {
Name string `json:"name,omitempty"`
Type string `json:"type,omitempty"`
Url string `json:"url,omitempty"`
BuildOrder int64 `json:"buildOrder,omitempty"`
BuildName string `json:"buildName,omitempty"`
BuildUrl string `json:"buildUrl,omitempty"`
ReportName string `json:"reportName,omitempty"`
ReportUrl string `json:"reportUrl,omitempty"`
}
type ExecutorPlugin ¶
type ExecutorPlugin struct {
// contains filtered or unexported fields
}
func (*ExecutorPlugin) Merge ¶
func (p *ExecutorPlugin) Merge(ctx context.Context, index int, threadResults []*common.PluginResult, _ *common.PluginResult) error
func (*ExecutorPlugin) Process ¶
func (p *ExecutorPlugin) Process(ctx context.Context, t *common.Test)
func (*ExecutorPlugin) SendState ¶
func (p *ExecutorPlugin) SendState() any
type ExecutorState ¶
type ExecutorState struct {
// contains filtered or unexported fields
}
type FixturePlugin ¶
type FixturePlugin struct {
// contains filtered or unexported fields
}
func (*FixturePlugin) Merge ¶
func (p *FixturePlugin) Merge(_ context.Context, index int, threadResults []*common.PluginResult, out *common.PluginResult) error
func (*FixturePlugin) Process ¶
func (p *FixturePlugin) Process(ctx context.Context, c *common.TestResultContainer)
func (*FixturePlugin) SendState ¶
func (p *FixturePlugin) SendState() any
type GroupTime ¶
type HistoryData ¶
type HistoryData struct {
Statistic *common.Statistic
Items []*HistoryItem
}
type HistoryItem ¶
type HistoryPlugin ¶
type HistoryPlugin struct {
// contains filtered or unexported fields
}
func (*HistoryPlugin) Merge ¶
func (p *HistoryPlugin) Merge(ctx context.Context, index int, threadResults []*common.PluginResult, _ *common.PluginResult) error
func (*HistoryPlugin) SendState ¶
func (p *HistoryPlugin) SendState() any
type HistoryState ¶
type HistoryState struct {
// contains filtered or unexported fields
}
type HistoryTrendItem ¶
type PackagesData ¶
type PackagesData struct {
// contains filtered or unexported fields
}
type PackagesPlugin ¶
type PackagesPlugin struct {
// contains filtered or unexported fields
}
func (*PackagesPlugin) Merge ¶
func (p *PackagesPlugin) Merge(ctx context.Context, index int, threadResults []*common.PluginResult, _ *common.PluginResult) error
func (*PackagesPlugin) Process ¶
func (p *PackagesPlugin) Process(ctx context.Context, t *common.Test)
func (*PackagesPlugin) SendState ¶
func (p *PackagesPlugin) SendState() any
type SeverityData ¶
type SeverityData struct {
Uid string `json:"uid"`
Name string `json:"name,omitempty"`
Time *common.Time `json:"time,omitempty"`
Status string `json:"status,omitempty"`
Severity string `json:"severity,omitempty"`
}
func SeverityFromTest ¶
func SeverityFromTest(t *common.Test) *SeverityData
type SeverityPlugin ¶
type SeverityPlugin struct {
// contains filtered or unexported fields
}
func (*SeverityPlugin) Merge ¶
func (p *SeverityPlugin) Merge(ctx context.Context, index int, threadResults []*common.PluginResult, out *common.PluginResult) error
func (*SeverityPlugin) Process ¶
func (p *SeverityPlugin) Process(ctx context.Context, t *common.Test)
func (*SeverityPlugin) SendState ¶
func (p *SeverityPlugin) SendState() any
type SuitesData ¶
type SuitesData struct {
// contains filtered or unexported fields
}
type SuitesPlugin ¶
type SuitesPlugin struct {
// contains filtered or unexported fields
}
func (*SuitesPlugin) Merge ¶
func (p *SuitesPlugin) Merge(ctx context.Context, index int, threadResults []*common.PluginResult, _ *common.PluginResult) error
func (*SuitesPlugin) SendState ¶
func (p *SuitesPlugin) SendState() any
type SummaryData ¶
type SummaryPlugin ¶
type SummaryPlugin struct {
// contains filtered or unexported fields
}
func (*SummaryPlugin) Merge ¶
func (p *SummaryPlugin) Merge(ctx context.Context, index int, threadResults []*common.PluginResult, _ *common.PluginResult) error
func (*SummaryPlugin) Process ¶
func (p *SummaryPlugin) Process(ctx context.Context, t *common.Test)
func (*SummaryPlugin) SendState ¶
func (p *SummaryPlugin) SendState() any
type TagsPlugin ¶
type TagsPlugin struct {
}
func (*TagsPlugin) Merge ¶
func (p *TagsPlugin) Merge(context.Context, int, []*common.PluginResult, *common.PluginResult) error
func (*TagsPlugin) SendState ¶
func (p *TagsPlugin) SendState() any
type TimelineData ¶
type TimelineData struct {
// contains filtered or unexported fields
}
type TimelinePlugin ¶
type TimelinePlugin struct {
// contains filtered or unexported fields
}
func (*TimelinePlugin) Merge ¶
func (p *TimelinePlugin) Merge(ctx context.Context, index int, threadResults []*common.PluginResult, _ *common.PluginResult) error
func (*TimelinePlugin) Process ¶
func (p *TimelinePlugin) Process(_ context.Context, t *common.Test)
func (*TimelinePlugin) SendState ¶
func (p *TimelinePlugin) SendState() any
Click to show internal directories.
Click to hide internal directories.