Skip to content
This repository has been archived by the owner on Dec 20, 2022. It is now read-only.

When running restcli with multiple .http files as input the exit code returned is success in the event that a test failed #107

Open
alexbanica opened this issue Aug 18, 2022 · 0 comments

Comments

@alexbanica
Copy link

Steps to reproduce:

  1. Create a http file with a failing test (failing-test.http)
  2. Create a http file with a successful test (success-test.http)
  3. Excecute java -jar restcli.jar failing-test.http success-test.http or java -jar restcli.jar /*.http

Results:

  • if the last executed http file is successful but the first ones failed, restcli exit code is 0

Expected:

  • If any of the .http files tests failed no matter in what order, restcli should exit with code 1.

Proposed PR: #106

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant