testutils

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package testutils provides utility functions for testing Argo functionality.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func JoinPath

func JoinPath(elements ...string) string

JoinPath concatenates path elements with a forward slash. This is a basic utility for constructing test paths and is not OS-aware.

func LoadQuery

func LoadQuery(queryString string) (*ast.QueryDocument, *gqlerror.Error)

LoadQuery parses a GraphQL query string using gqlparser.

func LoadSchema

func LoadSchema(schemaString string) (*ast.Schema, error)

LoadSchema parses a GraphQL schema string, adds Argo directives, and validates it.

Types

This section is empty.

Jump to

Keyboard shortcuts

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