Testify
lastmod 2026-11-10created 2025-11-054 edits
Testify는 Go 언어의 표준 testing 패키지와 함께 쓰는 테스트 도구 모음이다. assert와 require 패키지는 Equal, Nil, Error 같은 단언 함수를 제공하고, mock 패키지는 인터페이스의 모의 객체를, suite 패키지는 설정·해제 단계가 있는 테스트 묶음을 만든다. 표준 라이브러리만으로 반복되는 if 비교 코드를 줄여 준다.
A toolkit with common assertions and mocks that plays nicely with the standard library