Metadata-Version: 2.1
Name: youqu3
Version: 0.1.13
Summary: YouQu-Next
Author-email: mikigo <huangmingqiang@uniontech.com>
License: GPL2.0
License-File: LICENSE
Requires-Python: >=3.7
Requires-Dist: allure-pytest
Requires-Dist: click
Requires-Dist: funnylog
Requires-Dist: pexpect
Requires-Dist: pytest
Requires-Dist: pytest-json-report
Requires-Dist: pytest-mark-manage
Requires-Dist: pytest-rerunfailures
Requires-Dist: pytest-timeout
Provides-Extra: dbus
Requires-Dist: youqu-dbus; extra == 'dbus'
Provides-Extra: desktop-ui
Requires-Dist: pdocr-rpc; extra == 'desktop-ui'
Requires-Dist: youqu-button-center; extra == 'desktop-ui'
Requires-Dist: youqu-dogtail; extra == 'desktop-ui'
Requires-Dist: youqu-html; extra == 'desktop-ui'
Requires-Dist: youqu-imagecenter-rpc; extra == 'desktop-ui'
Requires-Dist: youqu-mousekey; extra == 'desktop-ui'
Provides-Extra: http
Requires-Dist: requests; extra == 'http'
Provides-Extra: remote
Requires-Dist: fabric; extra == 'remote'
Provides-Extra: webui
Requires-Dist: playwright; extra == 'webui'
Description-Content-Type: text/markdown

<p align="center">
  <a href="https://github.com/funny-dream/youqu3">
    <img src="./docs/assets/logo.png" width="100" alt="YouQu3">
  </a>
</p>
<h1 align="center">YouQu3</h1>
<p align="center">
    <em>YouQu3, Next generation Linux automation testing framework.</em>
</p>

--------------

文档：https://youqu.uniontech.com/v3/

--------------

**YouQu3** 是下一代 Linux 自动化测试框架，在继承 YouQu2 诸多亮点功能的同时解决其遇到的问题，同时对各功能进行插件化、模块化改造，全面优化框架接口调用机制。

## [特性]()

- 以 Python 包的形式提供框架能力，方便安装、更新。
- 自带虚拟环境管理器，支持离线部署，用例整体打包交付之后，可以在无网络环境下直接运行。
- 极致轻量化、可定制化依赖，可以根据测试项目类型安装对应的依赖。
- 功能可插拔，以插件的形式提供功能，不安装插件的情况下框架也能正常运行。
- 可视化配置，在浏览器中输入一些配置后即可驱动测试用例执行，搭配远程执行功能，可实现群控测试机执行。
- 支持非开发者下运行，简化系统环境部署。

## [安装]()

基础环境（默认支持命令行自动化测试）：

```shell
pip install youqu3
```

![](docs/assets/instalk.gif)

桌面 UI 自动化测试：

```shell
pip install youqu3[desktop-ui]
```

Web UI 自动化测试：

```shell
pip install youqu3[webui]
```

D-Bus 接口自动化测试：

```shell
pip install youqu3[dbus]
```

HTTP 接口自动化测试：

```shell
pip install youqu3[http]
```

## 创建用例工程

```shell
mkdir my_autotest
cd my_autotest/
youqu3 init
```

![](docs/assets/init.gif)
