execution

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 27, 2017 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StoreRAM

type StoreRAM interface {
	// AddCaseRecord adds the given record to the store
	AddCaseRecord(r *test.CaseExecutionRecord) (caseRecordID int, err error)
	// AddSequenceRecord adds the given record to the store
	AddSequenceRecord(r *test.SequenceExecutionRecord) (sequenceRecordID int, err error)
	// GetCaseExecutionRecords gets the records for the testcase with given id,
	// which is part of the project with given id.
	GetCaseExecutionRecords(projectID, testCaseID string) ([]test.CaseExecutionRecord, error)
	// GetCaseExecutionRecord gets the record with the given id for the testcase with given id,
	// which is part of the project with given id.
	GetCaseExecutionRecord(projectID, testCaseID string, recordID int) (test.CaseExecutionRecord, error)
	// GetSequenceExecutionRecords gets the records for the testsequence with given id,
	// which is part of the project with given id.
	GetSequenceExecutionRecords(projectID, sequenceID string) ([]test.SequenceExecutionRecord, error)
	// GetSequenceExecutionRecord gets the record with the given id for the testsequence with given id,
	// which is part of the project with given id.
	GetSequenceExecutionRecord(projectID, sequenceID string, recordID int) (test.SequenceExecutionRecord, error)
}

StoreRAM interface for storing test records.

func GetRecordStore

func GetRecordStore() StoreRAM

GetRecordStore returns the current store

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL