We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Consider the following files:
setupFile.http
# @name json GET https://postman-echo.com/get {{ const assert = require('node:assert/strict'); test('some test', () => { assert.fail('some failure'); }); }}
test.http
# @import ./setupFile.http # @ref json # This should never run because json request fails POST https://postman-echo.com/post
test2.http
POST https://postman-echo.com/post
If I run httpyac send 'test*.http' --all --bail:
httpyac send 'test*.http' --all --bail
@json
The text was updated successfully, but these errors were encountered:
Yes, seems that you are right. The needed Interceptor is only added to current file and not for all parsed files. I will fix it.
Sorry, something went wrong.
You are the best @AnWeber! Thank you for all your work on this project.
fix: support of --bail does also work in referenced http files (#540)
--bail
e4f867a
Well, the error you reported was already exactly like that in my VSCode extension. So not quite as good:-) And it is fixed with current release.
But I know how it is meant. thanks. Have fun using it.
No branches or pull requests
Consider the following files:
setupFile.http
test.http
test2.http
POST https://postman-echo.com/post
If I run
httpyac send 'test*.http' --all --bail
:test.http
andtest2.http
are never run because we get an error after@json
is run and@json
is referenced by test.httptest.http
andtest2.http
) and 1 failed (setupFile.http
)The text was updated successfully, but these errors were encountered: