Skip to content

Latest commit

 

History

History
46 lines (32 loc) · 1.91 KB

README.md

File metadata and controls

46 lines (32 loc) · 1.91 KB

XCTest Agent for ReportPortal

Version License Platform

Installation

ReportPortalAgent is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'ReportPortalAgent'

and install it:

cd <project>
pod install

Report Portal properties

Use info.plist file of your test target to specify properties of Report Portal:

  • ReportPortalURL - URL to API of report portal (exaple https://report-portal.company.com/api/v1).
  • ReportPortalToken - token for authentication which can be get from RP account settings.
  • ReportPortalLaunchName - name of launch.
  • Principal class - use ReportPortalAgent.RPListener from ReportPortalAgent lib. Also you can specify your own Observer which should conform XCTestObservation protocol.
  • PushTestDataToReportPortal - can be used for switch off/on reporting
  • ReportPortalProjectName - project name from Report Portal
  • ReportPortalTags(optinal) - can be used to specify tags, separeted by comma.
  • IsFinalTestBundle - use to mark last test target as YES, and all others as NO to allow single launch for them

Example: Alt text

Authors

DarthRumata, stas.kirichok@windmill.ch (Windmill Smart Solutions)

SergeVKom, sergvkom@gmail.com (original library)

License

ReportPortalAgent is available under the MIT license. See the LICENSE file for more info.