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
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.
SergeVKom, [email protected]
RPAgentSwiftXCTest is available under the MIT license. See the LICENSE file for more info.