Skip to content

Add verbose modes for easier handler debugging #6

Description

@stickies-v

With the runner spawning the handler process, debugging test failures is currently a bit involved. Since handlers take input from stdin, they can very easily be manually tested on command line with echo <request> | <handler-bin>.

I propose adding -v (verbose on failure) and -vv (always verbose) args (potentially also a --verbosity={0,1,2}), where:

  • -v will print the full request and response for each failed test
  • -vv will print the full request and response for each test

This way, the failed tests can easily be replicated manually with a simple copy-paste.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions