 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockT ¶
type MockT struct {
	// contains filtered or unexported fields
}
    MockT is designed to be used in tests to make sure that Testy fails in the appropriate ways.
type T ¶
type T interface {
	// These are the methods on *testing.T that Testy actually uses.
	Error(args ...any) // log a message, mark as failed, continue
	Fail()             // mark as failed, continue
	FailNow()          // mark as failed, exit
	// These methods are needed to test Testy. (Say that three times fast)
	Helper()      // mark as a helper
	Failed() bool // yes if the test has failed
}
    T is an interface implemented by *testing.T, for compatibility and (lol) testing purposes.
 Click to show internal directories. 
   Click to hide internal directories.