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

consuming an existing TAP stream via pipe is too complicated #41

Open
daxim opened this issue Aug 14, 2014 · 0 comments
Open

consuming an existing TAP stream via pipe is too complicated #41

daxim opened this issue Aug 14, 2014 · 0 comments

Comments

@daxim
Copy link

daxim commented Aug 14, 2014

prove has many features, but for my case I'm just interested in the part where it aggregates a TAP stream (originating from a non-Perl toolchain) and reports its little summary at the bottom with Result: FAIL/PASS.

The shortest working solution I could find is

printf "1..1\nok 1\n" |         # example TAP emitter
    prove -e 'cat -' /dev/null

which is lame. The report includes the dummy filename because prove insists on having a filename.

Streams should have first-class support in prove, somehow.

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

No branches or pull requests

1 participant