Skip to content

add api.ExpectContains struct - #20

Merged
jaypipes merged 1 commit into
gdt-dev:mainfrom
jaypipes:expect-contains
Oct 19, 2026
Merged

jaypipes merged 1 commit into
gdt-dev:mainfrom
jaypipes:expect-contains

Conversation

@jaypipes

Copy link
Copy Markdown
Member

Adds a new common api.ExpectContains struct that replaces the plugin/exec.PipeExpect struct and can be used in other gdt plugins. For example, the kube plugin has been modified to use this new ExpectContains struct instead of a plain string field for its Expect.Error field.

Also updates the documentation and parsing/tests for the require object compared to the assert object.

Adds a new common `api.ExpectContains` struct that replaces the
`plugin/exec.PipeExpect` struct and can be used in other gdt plugins.
For example, the kube plugin has been modified to use this new
`ExpectContains` struct instead of a plain string field for its
`Expect.Error` field.

Also updates the documentation and parsing/tests for the `require`
object compared to the `assert` object.

Signed-off-by: Jay Pipes <jaypipes@gmail.com>
@jaypipes
jaypipes merged commit 8fa86db into gdt-dev:main Oct 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant