You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			| 
				
					
						 | 
			2 years ago | |
|---|---|---|
| .. | ||
| README.md | 2 years ago | |
| func_thing.go | 2 years ago | |
| func_thing_test.go | 2 years ago | |
| go.mod | 2 years ago | |
		
			
				
				README.md
			
		
		
			
			
		
	
	Functions
Unit Tests
Ok from what I can tell a file for unit tests should end in _test.go matching the file name it is testing (covention?) Tests of functions
should begin with TestFuncNameOrTestScenario(t *testing.T). The t *testing.T is pointer to a testing.T object which is a struct with that provides methods for writing unit tests.
Then you use go test to run the unit tests.