Assumption message for Skipped scenario
See original GitHub issueHi, pretty new in the Cluecumber field…
I do get a Skipped scenario when using Assumptions and Failed scenario for Assertions, e.g:
Assumptions.assumeTrue(5 == 4, "Nothing available, stopping test"); => Skipped
Assertions.assertEquals(5 == 4, "Nothing available, stopping test"); => Failed
I do however not see the Assumption message for the skipped test which makes it hard to know the reason for Skipping. Since we do not want a failed (red) test in these situations, it would be nice in the UI to quickly see the “assume message” along the Scenario name, as it is now for Assertions.
Perhaps there is another way to display a message for Assumed-skipped tests without having to click on the Scenario link for further details.
/M
Issue Analytics
- State:
- Created 9 months ago
- Comments:10
Top Results From Across the Web
Necessary assumptions | Learn more (article) - Khan Academy
Necessary assumption questions ask you to determine what has to be true—but was never explicitly stated—in order for an argument to work.
Read more >Disclosure Example: Extraordinary Assumption
In an appraisal assignment, an extraordinary assumption is employed to presume certain unknown information as fact.
Read more >How To Use The Law of Assumption In 3 Steps
The first step to using the Law of Assumption is to describe the desire you want to manifest. If you have multiple things...
Read more >Assume vs assert in JUnit tests - java - Stack Overflow
The most easiest difference between Assert and Assume is : Assume will only run when the assumption is true. Will be skipped if...
Read more >Jumping to Conclusions: When People Decide Based on ...
Casual assumption. Casual assumption involves making a relatively minor, intuitive assumption, that is based on your preexisting knowledge, experience, and ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Fixed, releasing it now for v3.0.1.
Yes, the reporting:
Typical Java code:
Assumptions.assumeTrue(5 == 4, "No V75 available, stopping test");
I’d like the Assume message to appear as for Assertions (at arrow position)