Skip to main content

快速启动-android稳定性测试

Project description

###快速启动-android稳定性测试


  • 前置条件:需安装adb环境、需安装adb环境、需安装adb环境,重要事情说三遍

  • 简介: 结合字节跳动提供的开源工具Fastbot_android, 进行封装了基础版的稳定性测试, 只需要数据线连接电脑,并确定在cmd中输入adb devices,看到了手机设备号,即可运行命令。

  • 命令参数
必选参数:
  packages              包名-必传参数

可选参数:
  -h, --help            显示命令帮助信息
  -m MINUTE, --minute MINUTE
                        设置分钟-可选参数 固定值 [10, 15, 20, 25, 30]

  • 基础教程
  1. 新建一个工程目录test_project
  2. 在工程目录中新建一个test.py(自定义)文件
  3. 在文件中导入fastrun,并调用函数fastrun.running()
# test_project/test.py

import fastrun

fastrun.running()
  1. 编辑器中进入Terminal命令行,输入如下命令即可运行
默认运行5分钟

PS E:\test_project> python test.py "包名(问开发要)" 
指定运行10分钟

PS E:\test_project> python test.py "包名(问开发要)" -m 10 
指定运行15分钟

PS E:\test_project> python test.py "包名(问开发要)" -m 15 
指定运行20分钟

PS E:\test_project> python test.py "包名(问开发要)" -m 20
指定运行25分钟

PS E:\test_project> python test.py "包名(问开发要)" -m 25
指定运行30分钟

PS E:\test_project> python test.py "包名(问开发要)" -m 30


###严正声明

  • 作者只提供工具使用,当用户使用其他用途时,对用户或者他人造成任何形式的损失和伤害,该工具不承担任何责任。

  • 本协议的一切解释权与修改权归本工具所有。

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fastrun-1.0.1.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fastrun-1.0.1-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file fastrun-1.0.1.tar.gz.

File metadata

  • Download URL: fastrun-1.0.1.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.11.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.1

File hashes

Hashes for fastrun-1.0.1.tar.gz
Algorithm Hash digest
SHA256 fc34eeac5379d3654f63e134b8afe8ad810e4b4523ce1ccc4ce97f955bbef3c9
MD5 7652d89bb296dd7629bd1e9f60f77376
BLAKE2b-256 03c76b41ada8ba65a3770c3b211c3e19093f7cea871f47506e80487c20d01a1e

See more details on using hashes here.

File details

Details for the file fastrun-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: fastrun-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 5.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.11.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.1

File hashes

Hashes for fastrun-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b589404bb2119280a50fc2d35ebe855aaf01614a9322e8c5ab1f80ceea75c809
MD5 c737890d37c2bb48375451af3eac5333
BLAKE2b-256 9312feb5ddadafc0fa34b8bafe5e79c1381a88498aa161473570f98f2c3729fb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page