Exception for skipping the test

4 views
Skip to first unread message

Akshay Maldhure

unread,
Feb 12, 2020, 11:13:21 PM2/12/20
to lemoncheesecake
I remember, in the earlier versions of lemoncheesecake, there was an exception class meant for programmatically skipping a test by making the test raise that exception. I'm not finding anything like that now.

There's AbortTest exception the lemoncheesecake.exceptions module, but I could not find anything for skipping a test.

Nicolas Delon

unread,
Feb 14, 2020, 7:06:43 AM2/14/20
to lemoncheesecake
Hello,

There never was an exception to "skip" a test. Once a test has been started, it cannot be skipped afterward but it can be stopped using the "AbortTest" exception.

Best regards.

Akshay Maldhure

unread,
Feb 14, 2020, 7:22:41 AM2/14/20
to lemoncheesecake
Alright. I believe, I'm recalling the exception to skip the test from TestNG and not from lcc then. Thank you.
Reply all
Reply to author
Forward
0 new messages