Skip to content

v0.2.0

Choose a tag to compare

@umputun umputun released this 05 Mar 09:41
· 18 commits to master since this release
19b61f5

New Features

File Utilities

  • Add WriteTestFile: Creates temporary test files with automatic cleanup after test completion

HTTP Test Utilities

  • Add MockHTTPServer: Creates HTTP test servers with automatic cleanup
  • Add HTTPRequestCaptor: Captures and records HTTP requests for inspection in tests

Improvements

  • Update README with comprehensive examples for all utilities
  • Refactor tests to use testify/require for more consistent assertions
  • Add automated cleanup with t.Cleanup for all testing resources

All new utilities follow the same pattern as existing code with proper resource management and thorough test coverage.