Skip to content

implement script testing #2944

@efd6

Description

@efd6

In order to allow testing unhappy path as proposed in #1941 I suggest that we implement script testing based on github.com/rogpeppe/go-internal/testscript. This package was chosen because it is the only well maintained and extensively used script testing package available with the features that we need. Alternatives such as JS, CEL, starlark, or yaml are not chosen because they are either too strong, too weak or impose a learning cost that is higher than should be expected for a testing system.

Closes #2868

Sub-issues

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions