Latest 0.1.5
Homepage https://github.com/vviicc/BSUITest
License MIT
Platforms ios 8.0
Frameworks IOKit, CoreGraphics
Authors

License MIT
Support

介绍

为什么要开发这个工具?系统提供了UI自动化测试框架 UI Testing,但存在几个缺陷。

  1. 必须连着真机跑,无法脱机运行

  2. 要自己手写脚本代码

  3. 没有提供回放与录制结果对比。

BSUITest 基于记录下每次的点击事件和时间点,无需编写测试脚本就可以直接在设备进行录制回放。并且提供了录制和回放期间录屏功能,根据录屏的截图进行回放和录制的对比,提供了方便的结果差异参考。

Demo

git clone 本仓库,运行Example目录工程,注意:运行前先执行 pod install

截图

BSUITest BSUITest

安装

推荐使用 CocoaPods 安装

pod 'BSUITest'

如果只在Debug环境下使用

pod 'BSUITest', :configurations => ['Debug']

要求:iOS 8+

注意:因为使用了私有API,请提交审核前务必移除! 可以注释pod # pod 'BSUITest'

使用

使用很简单,只需一行代码

[[BSUITestManager sharedManager] setEnable:YES];

交流

有任何问题或想法,欢迎 PR 或 issue,请大神多多指点。

许可证

基于MIT许可证,请参看MIT文件。

Latest podspec

{
    "name": "BSUITest",
    "version": "0.1.5",
    "summary": "A useful UI Automatic Testing Tool that supports UI Recording/UI Playback/Screen Record/Video Screenshot Comparison",
    "description": "It is a useful UI Automatic Testing Tool that supports UI Recording/UI Playback/Screen Record/Video Screenshot Comparison without writing any ui test script.u4e00u4e2au4e0du7528u5199UIu6d4bu8bd5u811au672cu4fbfu53efu5b9eu73b0u5f55u5236/u56deu653e/u5f55u5c4f/u5f55u5c4fu622au56feu76f8u8bc6u5ea6u5bf9u6bd4u7684UIu81eau52a8u5316u6d4bu8bd5u5de5u5177u3002",
    "homepage": "https://github.com/vviicc/BSUITest",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "vviicc": "[email protected]"
    },
    "source": {
        "git": "https://github.com/vviicc/BSUITest.git",
        "tag": "0.1.5"
    },
    "frameworks": [
        "IOKit",
        "CoreGraphics"
    ],
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "BSUITest/Classes/BSUITestManager.{h,m}",
    "subspecs": [
        {
            "name": "Logic",
            "source_files": [
                "BSUITest/Classes/BSUITestLogic.{h,m}",
                "BSUITest/Classes/BSUITestFileHelper.{h,m}"
            ],
            "dependencies": {
                "BSUITest/Vendor": [],
                "BSUITest/MRC": []
            },
            "vendored_frameworks": "BSUITest/Classes/Vendor/PTFakeTouch.framework"
        },
        {
            "name": "UI",
            "source_files": "BSUITest/Classes/UI/*.{h,m}",
            "dependencies": {
                "BSUITest/Logic": [],
                "BSUITest/Vendor": []
            }
        },
        {
            "name": "Vendor",
            "source_files": "BSUITest/Classes/Vendor/**/*.{h,m}",
            "exclude_files": "BSUITest/Classes/Vendor/TPPreciseTimer.{h,m}"
        },
        {
            "name": "MRC",
            "source_files": "BSUITest/Classes/Vendor/TPPreciseTimer.{h,m}",
            "requires_arc": false
        }
    ]
}

Pin It on Pinterest

Share This