Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 813 Bytes

README.md

File metadata and controls

23 lines (17 loc) · 813 Bytes

SonarCloud coverage status:

Coverage

go-testing

A collection of Go testing examples and patterns. From basic unit tests to parallel execution, mocks, and temp files.

What's inside

  • Unit tests — basic tests, error/panic handling
  • Assertions — using testify/assert for cleaner checks
  • Mocks — simple dependency isolation
  • Parallel tests — speed up test execution
  • Temp files — working with filesystem in tests
  • More to come — this repo grows as I explore new patterns

Quick start

git clone https://github.com/EvgeniiIvanov/go-testing.git
cd go-testing/even
go test -v .