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

feat: handle test script execution failure #2104

Merged
merged 4 commits into from
Feb 1, 2022

Conversation

RishabhAgarwal-2001
Copy link
Contributor

Closes #2079

Description

Existing code didn't handle the case when execution of test script was not successful. In case of a faulty test/post-request script, the users were greeted with the results of the latest valid test script.
With this PR, the case of script execution failure is now covered. Users will see an error message instead of old test results.

Checks

  • My pull request adheres to the code style of this project
  • My code requires changes to the documentation
  • I have updated the documentation as required
  • All the tests have passed

Additional Information

N/A

@netlify
Copy link

netlify bot commented Jan 31, 2022

‼️ Deploy request for hoppscotch rejected.
Learn more about Netlify's sensitive variable policy

🔨 Explore the source changes: ad04ab2

liyasthomas
liyasthomas previously approved these changes Jan 31, 2022
Copy link
Member

@liyasthomas liyasthomas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

Copy link
Member

@AndrewBastin AndrewBastin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 💯

@liyasthomas liyasthomas merged commit 9c21013 into hoppscotch:main Feb 1, 2022
devblin pushed a commit to devblin/hoppscotch that referenced this pull request Feb 4, 2022
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
kyteinsky pushed a commit to kyteinsky/hoppscotch that referenced this pull request Feb 9, 2022
Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
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

Successfully merging this pull request may close these issues.

[bug]: Tests not updating with faulty code
3 participants