You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: wasp/benchspy/types.go
+14-2Lines changed: 14 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -5,15 +5,27 @@ import (
5
5
"time"
6
6
)
7
7
8
-
typeReportinterface {
8
+
typeStorerinterface {
9
9
// Store stores the report in a persistent storage and returns the path to it, or an error
10
10
Store() (string, error)
11
11
// Load loads the report from a persistent storage and returns it, or an error
12
12
Load() error
13
+
}
14
+
15
+
typeFetcherinterface {
13
16
// Fetch populates the report with the data from the test
14
17
Fetch() error
18
+
}
19
+
20
+
typeComparatorinterface {
15
21
// IsComparable checks whether both reports can be compared (e.g. test config is the same, app's resources are the same, queries or metrics used are the same, etc.), and an error if any difference is found
0 commit comments