Skip to content

kdar/cassert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

cassert

GoConvey test assertions without the BDD framework

Examples

package main

import (
	. "github.com/kdar/cassert"
	"testing"
)

func TestSomething(t *testing.T) {
	So(t, 5, ShouldEqual, 5)
	So(t, true, ShouldBeTrue)
}

package main

import (
	"github.com/kdar/cassert"
	"testing"
)

func TestSomething(t *testing.T) {
	So := cassert.NewSo(t)
	So(5, cassert.ShouldEqual, 5)
	So(true, cassert.ShouldBeTrue)
}

About

GoConvey test assertions without the BDD framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages