Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
How can I get whether a test suite passed or failed in TestListener? #2
Because I want to add a hook which can notify me by sms or phone call if there are failed cases, but the testSuiteContext provides so little information and I can't find detailed docs of it.
Please find below sample code to resolve your current concern as a workaround solution:
Regards to information about either TestSuiteContext or TestCaseContext, actually the sample methods generated from sample template are all of available functions within these contexts and they are quite easily understandable, so I think that's why there is no further documentation for the current Test Listeners