Documentation
¶
Overview ¶
Package clientdriver is the reference Driver: it does what a person does, through a client.Client alone, walking the contract's flow. Run over the in-process client it proves the scenarios describe behaviour the engine guarantees; run over a transport it proves the transport carries that behaviour unchanged. When an interface's own driver fails a scenario this one passes, the interface is wrong, not the scenario.
Index ¶
- type Driver
- func (d *Driver) Act(ctx context.Context, action uiconformance.Action, reason string) error
- func (d *Driver) Close(context.Context) error
- func (d *Driver) Open(ctx context.Context, kind, id string) (string, error)
- func (d *Driver) Problems(context.Context) ([]uiconformance.Problem, error)
- func (d *Driver) Set(_ context.Context, field uiconformance.Field, value any) error
- func (d *Driver) Step(_ context.Context, key string) error
- func (d *Driver) Where(context.Context) (uiconformance.Location, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.