gore

package module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2025 License: MIT Imports: 1 Imported by: 0

README

gore

gore is a simple Go package that provides a set of testing utilities that integrate with the Go testing framework.


Features

  • Test Assertions: Provides a set of assertion functions to validate conditions in tests.
  • Fluent Interface: Allows for a more readable and fluent way to write assertions.

Installation

gore is available on GitHub and can be installed using Go modules:

go get github.com/chriso345/gore

Usage

gore/assert provides a simple set of assertion functions that can be used in tests.

func TestExample(t *testing.T) {
  result := 1 + 1
  assert.Equal(t, result, 2)
}

gore/assert also provides a way to create a more fluent interface for assertions:

func TestExample(t *testing.T) {
  a := assert.That(t)
  result := 1 + 1
  a.Equal(result, 2)
}

License

This project is licensed under the MIT License. See the LICENSE file for details.

Documentation

Overview

gore is a simple Go package that provides a set of testing utilities that integrate with the Go testing framework.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Version

func Version() string

Version returns the version of the golumn module, if available.

Types

This section is empty.

Directories

Path Synopsis
assert provides a set of assertion functions for testing.
assert provides a set of assertion functions for testing.

Jump to

Keyboard shortcuts

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