testingx

package
v0.0.674 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package testingx contains helper functions and extensions used when writing tests in Ory.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadAll

func ReadAll(t testing.TB, r io.Reader) []byte

ReadAll reads all bytes from the reader and returns them as a byte slice.

func ReadAllString

func ReadAllString(t testing.TB, r io.Reader) string

ReadAllString reads all bytes from the reader and returns them as a string.

Types

This section is empty.

Jump to

Keyboard shortcuts

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