Giter Club home page Giter Club logo

agent-swift-xctest's Introduction

XCTest Agent for ReportPortal

CocoaPods Platform Validate Join Slack chat! stackoverflow Build with Love License

Installation

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

pod 'ReportPortal'

and install it:

cd <project>
pod install

Report Portal properties

The properties for Report Portal configuration should be set in the Info.plist file of your Test Target. If you Test Target does't have an Info.plist, follow these steps to add:

  1. In your Test Target Folder, create a Property List named Info.plist.
  2. In Test Target Settings, configure 'Info.plist File' with the path TestTargetFolderName/Info.plist.

Now, you can specify the Report Portal properties:

  • 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

Important Notes

Please be aware that this Report Portal agent is designed to work correctly only when tests are run sequentially. Parallel execution of tests is currently not supported.

Authors

ReportPortal Team, [email protected]

@DarthRumata, [email protected] (Windmill Smart Solutions)

@SergeVKom, [email protected] (original library)

License

Licensed under the Apache 2.0 license (see the LICENSE file).

agent-swift-xctest's People

Contributors

alekspetrovski avatar danieleframpton avatar darthrumata avatar dzmitryhumianiuk avatar hardnorth avatar isatapia avatar lemonandlime avatar mfclarke avatar oleksii-sayenko avatar sergevkom avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

agent-swift-xctest's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.