Documentation ¶
Index ¶
- func LoadSessionOrNew(name string, suite *protocol.TestSuite) (*sessionStore, error)
- func Start(cfg *Config, suite *protocol.TestSuite, sessionName string) error
- type Config
- type FileStorage
- func (st *FileStorage) AddParticipant(tester string) error
- func (st *FileStorage) ClaimTestcase(tester string, caseID string, claim bool) error
- func (st *FileStorage) GetParticipant(tester string) (protocol.TestParticipant, bool)
- func (st *FileStorage) GetRun() protocol.TestRun
- func (st *FileStorage) GetSuite() protocol.TestSuite
- func (st *FileStorage) Save() error
- func (st *FileStorage) SetTestcaseRun(tester string, caseID string, result protocol.TestCaseResult, comment string) error
- type OnSaveFunc
- type Storage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadSessionOrNew ¶
Types ¶
type FileStorage ¶ added in v0.1.3
type FileStorage struct { OnSave OnSaveFunc // contains filtered or unexported fields }
func LoadFileStorage ¶ added in v0.1.3
func LoadFileStorage(fn string, suite *protocol.TestSuite) (*FileStorage, error)
func NewFileStorage ¶ added in v0.1.3
func NewFileStorage(fn string, suite *protocol.TestSuite, runName string) *FileStorage
func (*FileStorage) AddParticipant ¶ added in v0.1.3
func (st *FileStorage) AddParticipant(tester string) error
func (*FileStorage) ClaimTestcase ¶ added in v0.1.3
func (st *FileStorage) ClaimTestcase(tester string, caseID string, claim bool) error
func (*FileStorage) GetParticipant ¶ added in v0.1.3
func (st *FileStorage) GetParticipant(tester string) (protocol.TestParticipant, bool)
func (*FileStorage) GetRun ¶ added in v0.1.3
func (st *FileStorage) GetRun() protocol.TestRun
func (*FileStorage) GetSuite ¶ added in v0.1.3
func (st *FileStorage) GetSuite() protocol.TestSuite
func (*FileStorage) Save ¶ added in v0.1.3
func (st *FileStorage) Save() error
func (*FileStorage) SetTestcaseRun ¶ added in v0.1.3
func (st *FileStorage) SetTestcaseRun(tester string, caseID string, result protocol.TestCaseResult, comment string) error
type OnSaveFunc ¶ added in v0.1.3
type OnSaveFunc func(st *FileStorage)
type Storage ¶ added in v0.1.3
type Storage interface { ClaimTestcase(tester string, caseID string, claim bool) error SetTestcaseRun(tester string, caseID string, result protocol.TestCaseResult, comment string) error AddParticipant(tester string) error Save() error GetSuite() protocol.TestSuite GetRun() protocol.TestRun GetParticipant(tester string) (protocol.TestParticipant, bool) }
Click to show internal directories.
Click to hide internal directories.