tests

package
v0.3.0-rc3 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2025 License: MIT Imports: 3 Imported by: 0

README

Tests Folder

This folder contains mainly integration tests. Hint: unit tests should remain in their respective packages (as usual).

Reasoning:

  • avoid accidental use of private variables

How to generate reference files?

See variable enableJsonDataDump in file marshalling_test.go and enable it, to generate new JSON files. After that, you need to copy them manually into the desired folder.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func JSONBytesEqual

func JSONBytesEqual(a, b []byte) (bool, error)

JSONBytesEqual compares the JSON in two byte slices.

func JSONEqual

func JSONEqual(a, b io.Reader) (bool, error)

JSONEqual compares the JSON from two Readers.

Types

This section is empty.

Jump to

Keyboard shortcuts

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