Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 1656 by laur...@bristiel.com: "pass execution" keyword leas to wrong console output result when located in suite teardown
http://code.google.com/p/robotframework/issues/detail?id=1656

Using Robot 2.8.4

Here is a very simple test:

*** Settings ***
suite teardown  pass execution  this is a test

*** test cases ***
mytest
    no operation

You expect this test to be OK, and here what we get on console:

[MBP]$ pybot test.txt
==============================================================================
Test
==============================================================================
mytest | PASS |
------------------------------------------------------------------------------
Test | FAIL |
1 critical test, 0 passed, 1 failed
1 test total, 0 passed, 1 failed
==============================================================================

According to console, it looks like the teardown failed somehow.
And the exit code is 1, indicating an error.
But when I open the report, the test is considered as OK. No failure at all. All green. Which is what I expect.

So there is a bug in the console output in that very specific case.


--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--

--- You received this message because you are subscribed to the Google Groups "robotframework-commit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to robotframework-commit+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to