 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Harness ¶
Harness adds some functionality to testing.T, in particular resource cleanup. It embeds testing.T, so should have the same signature.
Example usage: ```
func MyTest(tt *testing.T) {
  t := harness.For(tt)
  defer t.Close()
  ...
}
```
func For ¶
For creates a Harness from a testing.T Callers must call Close on the Harness so that resources can be cleaned up
 Click to show internal directories. 
   Click to hide internal directories.