Closed 1995parham closed 4 years ago
Write tests for handler package using httptest package and store mock. Here you will need to create an interface for the store so you can pass the mock instead of the actual store for testing.
httptest
Write tests for handler package using
httptest
package and store mock. Here you will need to create an interface for the store so you can pass the mock instead of the actual store for testing.