When a step fails, it would be nice if the error included the location of the test
Consider the following test failure (in Sequoia):
---- cleartext_signature_cannot_be_verified_if_it_has_been_modified stdout ----
scenario: Cleartext signature cannot be verified if it has been modified
step: given an installed sq
step: given file hello.txt
step: given file sed-in-place
step: when I run sq key generate --export key.pgp
Running `sq` with args ["key", "generate", "--export", "key.pgp"]
Running in /tmp/subplotDK65BCleartext-signature-cannot-be-verified-if-it-has-been-modified
ENV: SHELL = /bin/sh
PATH: /tmp/sequoia-build/debug:/home/us/.cargo/bin:/home/us/.cargo/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
Exit code: 0
Stdout:
Stderr:
No user ID given, using direct key signature
...
It would be great if the failure also included a line like a compiler error message, so that it would be easier to investigate.