Documentation
¶
Index ¶
- func CreateMockFile(path string, fileName string) (bool, error)
- func NewMockExportFS(isTestMode bool) *mockExport
- func NewTeleFS() *telemetry
- func NewTestReportFS(isTestMode bool) *testReport
- func ParseBytes(data []byte, hc map[string][]HistCfg) (map[string][]HistCfg, error)
- func SetHistory(hc *HistCfg) error
- func UserHomeDir(isNewConfigPath bool) string
- func Write(filePath string, data map[string][]HistCfg) error
- type HistCfg
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateMockFile ¶ added in v0.9.0
func NewMockExportFS ¶
func NewMockExportFS(isTestMode bool) *mockExport
func NewTestReportFS ¶
func NewTestReportFS(isTestMode bool) *testReport
func ParseBytes ¶ added in v0.9.0
func SetHistory ¶ added in v0.9.0
func UserHomeDir ¶
Types ¶
type HistCfg ¶ added in v0.9.0
type HistCfg struct { TcPath string `json:"tc_path" yaml:"tc_path"` MockPath string `json:"mock_path" yaml:"mock_path"` AppPath string `json:"app_path" yaml:"app_path"` TestRuns map[string][]string `json:"test_runs" yaml:"test_runs"` }
func NewHistCfgFS ¶ added in v0.9.0
func NewHistCfgFS() *HistCfg
func (*HistCfg) CaptureTestsEvent ¶ added in v0.9.0
func (*HistCfg) CapturedRecordEvents ¶ added in v0.9.0
Todo : optimize this function
func (*HistCfg) GetHistory ¶ added in v0.9.0
UI can be rendered by fetching this method
Click to show internal directories.
Click to hide internal directories.