question

ChrisB avatar image
ChrisB asked ChrisB posted

Reporting plugin - catches test cases but NOT test suites

I have written a reporting plugin that generates reports for all test cases and subordinate test cases (those launched via Run step).

 

What it is NOT catching is test suites. onReportComplete seems to fire for test cases, but not for test suites.

 

Is this an oversight in the reporting SDK, or is there a way for me to get notified when suites complete, and what their status was?

 

Thanks,

Chris

iTestsdk
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

AdamB avatar image
AdamB answered AdamB posted

 

Hi Chris,


This was an oversight in the implementation of Test Suites rather than the Reporting SDK.  Unfortunately, the reporting and engine SDKs do not provide much information about test suites.  Are you just trying to generate test reports or do something more specific?

 

You might be able to use or enhance the "test execution" activity:

http://www.fanfaresoftware.com/iTestAppStore/apps/TestExecutor.html

 

It gets all this information, but not in a legal SDK manner. :(

 

-a

10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

GuanghongY avatar image
GuanghongY answered GuanghongY posted

The reporting service will only catch test cases, including the test cases inside the test suites. But it will not catch test suites.

10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.