GitHub시작하기

API 레퍼런스는 소스 코드의 Go 문서 주석에서 추출되며 영어로 작성되어 있습니다.

package storetest

import "github.com/nsgo-dev/game/pkg/accounts/storetest"

개요

Package storetest checks an accounts.Store implementation against the Store contract. A store's tests call Run with a function that opens an empty store.

색인

함수

func Run(t *testing.T, open func(t *testing.T) accounts.Store)

Run runs the contract's tests as subtests of t, each on a new empty store from open.