Skip to content

The agent for pushing test data from XCTest framework to Report Portal

License

Notifications You must be signed in to change notification settings

Saczuu/agent-swift-XCTest

 
 

Repository files navigation

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 you can 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 to XCTestObservation protocol.
  • PushTestDataToReportPortal - can be used to switch off/on reporting
  • ReportPortalProjectName - project name from Report Portal
  • ReportPortalTags(optional) - can be used to specify tags, separated 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.

About

The agent for pushing test data from XCTest framework to Report Portal

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Swift 96.4%
  • Ruby 3.6%