Skip to content

kilobit/tested

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TestEd

Simple testing utilities for Golang.

Status: In-Development

package mypackage

import "testing"
import "kilobit.ca/go/tested/assert"

// Sanity Check
//
func TestMyPackageTest(t *testing.T) {
	assert.Expect(t, true, true)
}

Wait... another testing library?

Yes! Another testing library. Intended to be small, simple and expand to satisfy new requirements as they emerge. Hopefully it, or something in the See Other section will be useful for your project.

Features

Right now, tested couldn't be simpler while being any use at all.

Current Features:

  • A simple Assert library to reduce test writing effort.
  • Implemented the Expect assertion.
  • Added simple error check assertion, assert.Ok.
  • Pass arbitrary extra arguments that will be stringified and printed if the assertion fails.

Future Features:

  • More assert functions.
  • Customize and direct output.
  • Whatever seems useful while writing tests.

See Other

There are lots of great testing libraries that may better suite your needs.

Installation

$ go get 'kilobit.ca/go/tested'

Building

$ cd tested
$ go test -v
$ go build

Contribute

Contributions and collaborations are welcome!

Please submit a pull request with any bug fixes or feature requests that you have. All submissions imply consent to use / distribute under the terms of the LICENSE.

Support

Submit tickets through github.

License

See LICENSE.

--
Created: Nov 13, 2019
By: Christian Saunders cps@kilobit.ca
Copyright 2019 Kilobit Labs Inc.

About

Super simple testing utilities for Golang.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages