Skip to content

evmone test: add a --verbose flag to name each fixture as it runs #1702

Description

@chfast

evmone test reports one progress character per file and names only what did not pass. There is no way to ask it to name each test as it runs.

--trace and --histogram used to stand in for that: they turned the progress row off and printed the file path instead, so their output had something above it. That was wrong twice over — a file holds many fixtures, so the path did not say which fixture the trace belonged to, and naming tests is not what those flags are for. #1685 removed the path printing, leaving those flags to write only their own output.

A --verbose flag would cover the real need: name each fixture as it runs, as pytest -v does, instead of marking it with a character.

Worth settling as part of it:

  • How it composes with --trace and --histogram. Those already suppress the progress row because their output would run into it. With --verbose the two concerns separate: the flag says what to name, the trace says what to emit. Whether either implies --verbose, and what happens when neither is given, is the question.
  • What a name is. The fixture (<file>::<name>) rather than the file, so a trace can be attributed.
  • Whether it takes a level, as -v/-vv do elsewhere, or is just a flag.

🤖 Generated with Claude Code

https://claude.ai/code/session_016UHPAGwcwXMjqhTLpT31K7

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions