Skip to content

eviltofu/testingExtensions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

testingExtensions

Simple AssertTrue/AssertFalse functions for testing. Create the TestUnit and test for some condition. If the test fails, it will fail in the wrapped *testing.T as well.

func TestSomething(t *testing.T) {
  tT := TestUnit(t)
  tT.AssertTrue(someCondition)
}

About

Exploring Go

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages