-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathlabels.go
More file actions
34 lines (29 loc) · 1.51 KB
/
Copy pathlabels.go
File metadata and controls
34 lines (29 loc) · 1.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
package labels
// Severity labels - Business Impact Dimension: Describes the severity of failure if the functionality is broken.
// See test-design/README.md for full classification criteria, decision flowchart, and examples.
const (
Tier0 = "tier0" // Critical: Core user journey broken, fix immediately, blocks release
Tier1 = "tier1" // Major: Important features affected, should be addressed
Tier2 = "tier2" // Minor: Edge cases or low-frequency scenarios, can be deferred
)
// Stability labels - Test quality dimension: determines CI gate policy
// const (
// Stable = "stable" // Production-ready: stable and reliable, must pass to merge (Blocking)
// Informing = "informing" // Observation period: new test onboarding (Non-blocking)
// Flaky = "flaky" // Known unstable: quarantined for investigation
// )
// Scenario labels - Test path dimension: describes test design intent
const (
// HappyPath = "happy-path" // Normal workflow: ideal path
Negative = "negative" // Error handling: edge cases and failure scenarios
Performance = "perf" // Performance: stress tests or large-scale resource scenarios
)
// Functionality labels - Feature category dimension: describes test coverage target
const (
Upgrade = "upgrade" // Version compatibility: smooth upgrades
)
// Constraint labels - Execution constraint dimension: determines scheduling strategy
const (
Disruptive = "disruptive" // Destructive testing: fault injection
Slow = "slow" // Long-running: execution time exceeds 5-10 minutes
)