test

package
v0.8.22 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 24, 2025 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

------------------------------------------------------------------------------- This file is "almost" identical to the conftest version of this command. Use `make conftest-test-cmd-diff` to show a comparison. Note also that the way that flags are handled here is not consistent with how it's done elsewhere. This intentional in order to be consistent with Conftest. -------------------------------------------------------------------------------

Index

Constants

View Source
const OutputAppstudio = "appstudio"

Variables

This section is empty.

Functions

func NewTestCommand added in v0.7.143

func NewTestCommand(ctx context.Context) *cobra.Command

NewTestCommand creates a new test command.

Types

type TestRun added in v0.7.143

type TestRun struct {
	Compiler *ast.Compiler
	Store    storage.Store
}

TestRun stores the compiler and store for a test run.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL