Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feature(backend): Required Gates (#2888) * feature(backend): Required Gates * adding tests and fixing bugs * adding tests and fixing bugs * addressing PR comments * addressing PR comments * updating go.modsum * feature(frontend): Required Gates (#2932) * feature(frontend): Test Runner Configuration * feature(frontend): cleanup * feature(frontend): removing unnecessary prop * feature(frontend): addressing PR review comments
- Loading branch information
Showing
64 changed files
with
1,378 additions
and
135 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
openapi: 3.0.0 | ||
components: | ||
schemas: | ||
TestRunnerResource: | ||
type: object | ||
properties: | ||
type: | ||
type: string | ||
description: "Represents the type of this resource. It should always be set as 'TestRunner'." | ||
enum: | ||
- TestRunner | ||
spec: | ||
$ref: "#/components/schemas/TestRunner" | ||
TestRunner: | ||
type: object | ||
properties: | ||
id: | ||
type: string | ||
description: "ID of the test runner resource. It should always be set as 'current'." | ||
enum: | ||
- current | ||
name: | ||
type: string | ||
description: "Name given for this test runner set" | ||
requiredGates: | ||
type: array | ||
items: | ||
$ref: "#/components/schemas/SupportedGates" | ||
RequiredGatesResult: | ||
type: object | ||
properties: | ||
required: | ||
type: array | ||
items: | ||
$ref: "#/components/schemas/SupportedGates" | ||
failed: | ||
type: array | ||
items: | ||
$ref: "#/components/schemas/SupportedGates" | ||
passed: | ||
type: boolean | ||
required: | ||
- passed | ||
- failed | ||
- required | ||
SupportedGates: | ||
type: string | ||
enum: | ||
- analyzer-score | ||
- analyzer-rules | ||
- test-specs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package testrunner_test | ||
|
||
import ( | ||
"os" | ||
"testing" | ||
|
||
"github.com/kubeshop/tracetest/server/testmock" | ||
) | ||
|
||
func TestMain(m *testing.M) { | ||
testmock.StartTestEnvironment() | ||
|
||
exitVal := m.Run() | ||
|
||
testmock.StopTestEnvironment() | ||
|
||
os.Exit(exitVal) | ||
} |
Oops, something went wrong.