zetawiki 제타위키 위키 포럼 도구

Go 테스트

역링크 토론
  • 역사 보기
  • 인쇄용 판
  • 고유 링크
  • 문서 정보
    • Go 테스트

    목차

    • 1 개요
    • 2 같이 보기
    • 3 참고

    개요

    Go 테스트
    • 서브테스트
    • 테이블 드리븐
    • 테스트 커버리지
    • go:cover ignore?
    • bpool
    • 테스트 파일명, 함수 이름짓기
    • func init()
    • TestMain()
    • main 함수 테스트
    • whitebox, blackbox 테스트
    • Benchmark
    • github actions
    • 테스트와 panic()
      • https://github.com/gin-gonic/gin/commit/0c96a20209ca035964be126a745c167196fb6db3
    • mocking http server
    • race 함수/패키지

    같이 보기

    • Go
    • 테스트
    • go test

    참고

    • https://go.dev/blog/cover
    • https://pkg.go.dev/testing
    • https://go.dev/doc/code#Testing
    • https://go.dev/doc/tutorial/add-a-test
    • https://github.com/stretchr/testify
    • https://github.com/stretchr/testify/issues/497
    • https://github.com/stretchr/testify/issues/690
    • https://gobyexample.com/testing-and-benchmarking
    • http://golang.site/go/article/115-Go-유닛-테스트
    • https://blog.jetbrains.com/go/2022/11/22/comprehensive-guide-to-testing-in-go/
    원본 주소 "https://zetawiki.com/w/index.php?title=Go_테스트&oldid=858259"