Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add context property to check response message #454

Merged
merged 6 commits into from
Sep 15, 2024
Merged

add context property to check response message #454

merged 6 commits into from
Sep 15, 2024

Conversation

gertd
Copy link
Member

@gertd gertd commented Sep 11, 2024

@coveralls
Copy link

coveralls commented Sep 11, 2024

Pull Request Test Coverage Report for Build 10864379825

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.1%) to 28.352%

Totals Coverage Status
Change from base Build 10864098577: 0.1%
Covered Lines: 1313
Relevant Lines: 4631

💛 - Coveralls

failed string = "FAIL"
errored string = "ERR "
)

type TestCmd struct {
Exec TestExecCmd `cmd:"" help:"execute assertions"`
Template TestTemplateCmd `cmd:"" help:"output assertions template"`
}

type TestExecCmd struct {
File string `arg:"" default:"assertions.json" help:"filepath to assertions file"`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can do it in a separate PR but I think it would be nice to allow multiple files to be specified.

Files  []string `arg:"" default:"assertions.json" sep:"none" help:"path to assertions file"`

That would allow users to use shell expansions and run a set of test files in a single call:

topaz ds test exec test/*.json

And also do things like:

cat tests.txt | xargs topaz ds test exec

@gertd gertd merged commit 6e203a2 into main Sep 15, 2024
5 checks passed
@gertd gertd deleted the check-reason branch September 15, 2024 08:16
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.

3 participants