美文网首页
ios自动化测试 xcode server os x serv

ios自动化测试 xcode server os x serv

作者: 繁华落尽2018 | 来源:发表于2017-12-22 09:17 被阅读155次

    目的:通过 Xcode Server,Xcode支持基于服务器的持续集成工作流。Xcode Server 适用于 OS X Server,可以自动化应用程序的构建、分析、测试以及归档的一体化过程。
    优点:

    1. 使用服务器可以进行脱机构建和测试,以缓解开发系统做实施和调试的压力,特别是在全方位测试时可能需要很长的时间来执行。
    2. 开发团队的所有成员使用相同的scheme可在服务器上运行相同的测试,从而提高测试的一致性,整个团队也可以构建产品,就像构建和测试报告。
    3. 开发人员可以灵活调度测试的需求,定时,手动。
    4. 服务器以同样的方式反复运行测试
    5. 测试针对更多的机型,可以有任意数量的移动端连接到服务器,包括模拟器,通过单一的配置
      配置需求:
    6. 一台Mac作为server
    7. 若干mac作为开发机
    8. os server 软件

    配置步骤:

    1. 安装OX X服务器并配置XcodeServer:https://developer.apple.com/library/content/documentation/IDEs/Conceptual/xcode_guide-continuous_integration/adopt_continuous_integration.html
    2. 启用对源代码存储库的访问:https://developer.apple.com/library/content/documentation/IDEs/Conceptual/xcode_guide-continuous_integration/PublishYourCodetoaSourceRepository.html#//apple_ref/doc/uid/TP40013292-CH8-SW1
    3. 选择 Product > Create Bot 来配置和运行 Bots:https://developer.apple.com/library/content/documentation/IDEs/Conceptual/xcode_guide-continuous_integration/ConfigureBots.html#//apple_ref/doc/uid/TP40013292-CH9-SW1

    运行和查看报告:

    1. 报告导航管理和监控机器人:https://developer.apple.com/library/content/documentation/IDEs/Conceptual/xcode_guide-continuous_integration/view_integration_results.html#//apple_ref/doc/uid/TP40013292-CH4-SW1
    2. 从web浏览器监控机器人:https://developer.apple.com/library/content/documentation/IDEs/Conceptual/xcode_guide-continuous_integration/MonitorBotsandDownloadProductsfromaWebBrowser.html#//apple_ref/doc/uid/TP40013292-CH10-SW1

    相关文档:

    1. 使用持续集成自动化测试过程:http://www.cocoachina.com/ios/20140717/9165.html
    2. xcode历史版本:https://developer.apple.com/download/more
    3. Os x server 5.2版本:http://xclient.info/s/os-x-server.html?_=af546681b9111c99708a3bc28757a983

    相关文章

      网友评论

          本文标题:ios自动化测试 xcode server os x serv

          本文链接:https://www.haomeiwen.com/subject/myctgxtx.html