위키
포럼
도구
  • 특수문서 목록
  • 토론
  • 기여
  • 로그인
바뀐글
랜덤

Go 테스트

2023-06-05
편집
역링크
토론
역사 역링크 최근바뀜 인쇄용 판 고유 링크 문서 정보 이 문서 인용하기
분류:
  • Go 테스트

목차

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

1 개요[ | ]

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 함수/패키지

2 같이 보기[ | ]

  • Go
  • 테스트
  • go test

3 참고[ | ]

  • 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"
분류:
  • Go 테스트
수정 2023-06-05 생성 2023-05-01
편집자
문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}
  • 분류 댓글:
  • {{cat.name.replace(/_/g,' ')}} ({{cat.cnt}})
  • {{comment.page_title}}
    ― {{comment.name}}

CC-BY-SA 3.0 · Powered by MediaWiki

개인정보처리방침 · ABOUT

다음 문자열 포함...