Overriding Default Test Pass Behavior: Ensuring Pass/Fail Based on Execution Conditions. #955
Unanswered
Saravana-kr22
asked this question in
Q&A
Replies: 1 comment 1 reply
-
|
Use asserts?
…On Tue, Mar 4, 2025, 02:23 Saravana Perumal K ***@***.***> wrote:
I'm trying to set the test run result to either *PASS* or *FAIL* based on
the execution outcome. Currently, the default result is *PASS* when the
execution completes, as indicated by the log: INFO [Test]
test_TC_pair_unpair PASS. I've been searching through the documentation
for a solution but haven't found anything yet. Is there a specific approach
or workaround I need to use to achieve this that I might not be aware of?
—
Reply to this email directly, view it on GitHub
<#955>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AARDNZIVPDUFPPOUNT7L6LT2SV5KDAVCNFSM6AAAAABYJFM2QGVHI2DSMVQWIX3LMV43ERDJONRXK43TNFXW4OZYGAZTONJZGY>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to set the test run result to either PASS or FAIL based on the execution outcome. Currently, the default result is PASS when the execution completes, as indicated by the log:
INFO [Test] test_TC_pair_unpair PASS. I've been searching through the documentation for a solution but haven't found anything yet. Is there a specific approach or workaround I need to use to achieve this that I might not be aware of?Beta Was this translation helpful? Give feedback.
All reactions