bruno icon indicating copy to clipboard operation
bruno copied to clipboard

Runner with test marked as Passed whereas there is an error in the test script

Open blagasse700 opened this issue 1 year ago • 10 comments

I have checked the following:

  • [x] I have searched existing issues and found nothing related to my issue.

This bug is:

  • [ ] making Bruno unusable for me
  • [ ] slowing me down but I'm able to continue working
  • [x] annoying
  • [ ] this feature was working in a previous version but is broken in the current release.

Bruno version

2.15.0

Jira

Operating System

Windows 11 Enterprise 26100.7171

Describe the bug

Hello, We have migrated with some programs SoapUI collections to Bruno.

While running tests with the "Runner", some tests are marked as Passed whereas the Tests script contains error.

Image Image

It is misleading: when looking at the report of the Runner, you think that everything is fine whereas there are some issues.

.bru file to reproduce the bug

No response

Screenshots/Live demo link

Image Image

blagasse700 avatar Dec 01 '25 09:12 blagasse700

Thanks for raising this issue. I have verified this issue. We will look into it

Pragadesh44-Bruno avatar Dec 01 '25 09:12 Pragadesh44-Bruno

@Pragadesh44-Bruno I'd like to take up this issue. I've implemented test-script error handling so that failures are reflected in both the UI and CLI. Let me know if you're okay with me opening a PR.

Image

KaranPradhan266 avatar Dec 01 '25 10:12 KaranPradhan266

Hi @KaranPradhan266 , thank you for your contribution. We will look into this. Thanks!

sreelakshmi-bruno avatar Dec 02 '25 09:12 sreelakshmi-bruno

@sreelakshmi-bruno The PR by @KaranPradhan266 ia pretty close Please work with @Pragadesh44-Bruno and @bijin-bruno to prioritise this and get it merged in December

helloanoop avatar Dec 02 '25 22:12 helloanoop

Apologies that this couldn't make it in December, prioritizing for Jan.

sreelakshmi-bruno avatar Jan 07 '26 09:01 sreelakshmi-bruno

A PR that adds this fix has been merged; it is expected to be available in our next release.

https://github.com/usebruno/bruno/pull/7040

sanjaikumar-bruno avatar Feb 04 '26 11:02 sanjaikumar-bruno

@sreelakshmi-bruno Do you know if it should have been fixed with the 3.1.0?

I have downloaded the 3.1.0 but I still see the issue: Image

blagasse700 avatar Feb 17 '26 08:02 blagasse700

@blagasse700, the release with the fix is expected in the second half of March.

sanjaikumar-bruno avatar Feb 23 '26 10:02 sanjaikumar-bruno

@sreelakshmi-bruno @sanjaikumar-bruno I confirm that the problem is fixed with the v3.2.0.

The syntax errors in the script are well reported by the runner. Image

Thanks

blagasse700 avatar Mar 19 '26 08:03 blagasse700

Closing this ticket since this issue has been fixed. Please reopen if you find otherwise, thanks!

sreelakshmi-bruno avatar Mar 30 '26 11:03 sreelakshmi-bruno