Documentation
¶
Index ¶
- func ConvertToGoType(v lua.LValue) any
- func GenerateSpec(w io.Writer, runners []spec.Runner, cfg any, extraHelpers []*spec.Function, ...)
- type JSONReporter
- func (r *JSONReporter) Info(info reporter.Info)
- func (r *JSONReporter) ReportError(err *reporter.Error)
- func (r *JSONReporter) RunFile(ctx context.Context, filename string, fn func(reporter.Reporter))
- func (r *JSONReporter) RunTest(ctx context.Context, runner, name string, fn func(reporter.Reporter))
- type Manager
- func (m *Manager) AddHelper(helper *spec.Function)
- func (m *Manager) AddTypemetatable(tmt *spec.Typemetatable)
- func (m *Manager) GenerateSpec(dir string) error
- func (m *Manager) Run(ctx context.Context, dir string, report reporter.Reporter) error
- func (m *Manager) RunUI(ctx context.Context, dir string) error
- type SetupFunc
- type TestReporter
- func (r *TestReporter) Info(info reporter.Info)
- func (r *TestReporter) ReportError(err *reporter.Error)
- func (r *TestReporter) RunFile(ctx context.Context, filename string, fn func(reporter.Reporter))
- func (r *TestReporter) RunTest(ctx context.Context, runner string, name string, fn func(reporter.Reporter))
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertToGoType ¶
Types ¶
type JSONReporter ¶
type JSONReporter struct {
// contains filtered or unexported fields
}
func NewJSONReporter ¶
func NewJSONReporter(w io.Writer) *JSONReporter
func (*JSONReporter) Info ¶
func (r *JSONReporter) Info(info reporter.Info)
func (*JSONReporter) ReportError ¶
func (r *JSONReporter) ReportError(err *reporter.Error)
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func (*Manager) AddTypemetatable ¶
func (m *Manager) AddTypemetatable(tmt *spec.Typemetatable)
func (*Manager) GenerateSpec ¶
type TestReporter ¶
type TestReporter struct {
// contains filtered or unexported fields
}
func NewTestReporter ¶
func NewTestReporter(t *testing.T) *TestReporter
func (*TestReporter) Info ¶
func (r *TestReporter) Info(info reporter.Info)
func (*TestReporter) ReportError ¶
func (r *TestReporter) ReportError(err *reporter.Error)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.