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

SergeVKom/RPAgentSwiftXCTest

Repository files navigation

RPAgentSwiftXCTest

Version License Platform

Installation

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

pod 'RPAgentSwiftXCTest'

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/project).
  • ReportPortalToken - token for authentication which can be get from RP account settings.
  • ReportPortalLaunchName - name of launch.
  • Principal class - use RPAgentSwiftXCTest.RPListener from RPAgentSwiftXCTest lib. Also you can specify your own Observer which should conform XCTestObservation protocol.
  • PushTestDataToReportPortal - can be used for switch off/on reporting
  • ReportPortalTags(optinal) - can be used to specify tags, separeted by comma.

Example: Alt text

Author

SergeVKom, [email protected]

License

RPAgentSwiftXCTest 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

Packages

No packages published