All Projects → ctripcorp → flybirds

ctripcorp / flybirds

Licence: MIT license
基于自然语言的,跨端跨框架 BDD UI 自动化测试方案,BDD testing, Python style, Present by Trip Flight

Programming Languages

python
139335 projects - #7 most used programming language
Gherkin
971 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to flybirds

jdi-dark
Powerful Framework for Backend Automation Testing on Java (Rest, Soap, WebSocket)
Stars: ✭ 36 (-94.86%)
Mutual labels:  test-automation, bdd-style-testing-framework
MasterSeleniumFramework
Automation Testing | Web | Java | OOPS | Selenium WebDriver | TestNG | Maven | ExtentReport | Allure Reports | Java mail API | Design Patterns (Page Object Model, Singleton) | Jenkins | Data-Driven Testing using JSON file
Stars: ✭ 52 (-92.58%)
Mutual labels:  test-automation
clearth
Test automation tool for Clearing, Settlement and Back-Office Systems
Stars: ✭ 26 (-96.29%)
Mutual labels:  test-automation
appium-tests
Tool to run Titanium mobile tests in Appium
Stars: ✭ 15 (-97.86%)
Mutual labels:  test-automation
rssd
Rohde & Schwarz SCPI Driver (in Python)
Stars: ✭ 25 (-96.43%)
Mutual labels:  test-automation
opnfv-cloudify-clearwater
vIMS Clearwater deployment and lifecycle management with Cloudify Orchestrator
Stars: ✭ 32 (-95.44%)
Mutual labels:  test-automation
NBi
NBi is a testing framework (add-on to NUnit) for Business Intelligence and Data Access. The main goal of this framework is to let users create tests with a declarative approach based on an Xml syntax. By the means of NBi, you don't need to develop C# or Java code to specify your tests! Either, you don't need Visual Studio or Eclipse to compile y…
Stars: ✭ 102 (-85.45%)
Mutual labels:  test-automation
sandboni-core
Sandboni - Java test optimization library which reduces test execution time without compromising quality
Stars: ✭ 27 (-96.15%)
Mutual labels:  test-automation
mutest
A BDD testing framework for C, inspired by Mocha
Stars: ✭ 22 (-96.86%)
Mutual labels:  bdd-style-testing-framework
arduino-ci-script
Bash script for continuous integration of Arduino projects
Stars: ✭ 25 (-96.43%)
Mutual labels:  test-automation
scenarioo
Scenarioo Docu Viewer for Automated Documentation using UI/E2E-Tests
Stars: ✭ 62 (-91.16%)
Mutual labels:  test-automation
Sub-Track
Flutter Application to keep track of Subscriptions
Stars: ✭ 31 (-95.58%)
Mutual labels:  test-automation
exactly
Exactly - tests a command line program by executing it in a temporary sandbox directory and inspecting its result.
Stars: ✭ 30 (-95.72%)
Mutual labels:  test-automation
playwright-demos
playwright for scrapping and UI testing / automate testing workflows
Stars: ✭ 65 (-90.73%)
Mutual labels:  test-automation
test-automation-bootstrap
A simple and effective boilerplate repo to quickstart test automation frameworks ✨
Stars: ✭ 42 (-94.01%)
Mutual labels:  test-automation
camunda-platform-scenario
Easily execute Camunda process scenarios and verify your expectations with Given/Then/When style tests.
Stars: ✭ 58 (-91.73%)
Mutual labels:  bdd-style-testing-framework
vividus-starter
VIVIDUS-based test project template
Stars: ✭ 43 (-93.87%)
Mutual labels:  test-automation
bokor
Bokor is a simple, Record and Playback Mock Server written in Node.js, utilized for Service Virtualization.
Stars: ✭ 24 (-96.58%)
Mutual labels:  test-automation
saloon
An E2E test seeder for enterprise web applications
Stars: ✭ 30 (-95.72%)
Mutual labels:  test-automation
eat
Json based scenario testing tool(which can have test for functional and non-functional)
Stars: ✭ 41 (-94.15%)
Mutual labels:  test-automation

logo

Flybirds | English Version

downloads Downloads/month Downloads/week pypi version pyversions

跨端跨框架 BDD UI自动化测试方案

背景

Flybirds 是一套基于BDD模式的前端UI自动化测试框架,提供了一系列开箱即用的工具和完善的文档。

多端研发对于当今时代的前端开发来说是个绕不过去的话题,为了解决这些问题,行业内推出了很多开发方案,但是跨端 UI 自动化测试的解决方案并不多。

Flybirds从2022年初开源至今,通过与社区内活跃用户的交流和反馈,推出了v0.4 版本的跨端跨框架测试方案,一套脚本多端运行,插件化的架构设计,也方便社区开发者自由加入扩展,一起共建成长。

我们需要一个怎么样的多端测试方案

近几年,每隔一段时间就会有很多新的开发框架出现,带来了更好的开发体验和性能的同时,也给自动化测试创造了很多难题。

我们到底需要一个怎样的多端测试方案呢?从 Flybirds 的视角来说,我们希望多端测试不会成为研发流程中的障碍,特别是多端生态整体呈现欣欣向荣之时,自动化测试方案应和开发方案共同成长。

不论是 Web 、Android、iOS、Flutter、React Native 还是小程序,理想的方案应该进行多端适配,保留良好扩展,兼顾更多框架,由社区共同建设,促进整体生态繁荣,因此就有了Flybirds 向社区提供的跨端跨框架测试方案。

插件化架构

插件化架构帮助我们将每一个端的能力拆分开, 插件提供运行时所需的组件、API 和配置,Flybirds 将它们分别注入对应的生命周期。

Arc

  • 基于Behave,实现BDD中“自然语言测试用例文档”和“自动化测试代码”关联所需要用到的支持BDD工具。
  • 基于Airtest,实现BDD中“测试用例能在自动化测试平台上执行”所需要用到的UI自动化测试框架。
  • 基于Playwright, 实现BDD中“测试用例能在自动化测试平台上执行”需要用到Web端UI自动化测试框架。
  • 基于PaddleOCR和OpenCV, 实现BDD中“测试用例能在自动化测试平台上执行”需要用到的OCR和图像识别能力。
  • 基于Multiple-cucumber-html-reporter,实现可视化的测试报告

文件结构

 																
├─ cli	                        脚手架
├─ core
|   ├─ config_manage.py         配置管理
|   ├─ dsl
|   │    ├─ globalization       国际化处理
|   │    └─ step                Step 列表
|   ├─ global_resource.py       全局配置
|   ├─ launch_cycle             生命周期管理
|   └─ plugin
|        ├─ event               事件管理
|        ├─ plugin_manager.py   插件管理
|        └─ plugins					
|             ├─ android        Andriod 相关处理
|             ├─ ios            iOS 相关处理
|             └─ web            Web 相关处理
├─ report                       报告
├─ template                     模板处理
└─ utils								

特性

使用Flybirds你能够完成大部分的手机端自动化操作,以下是一些帮助入门的特性描述:

  • 基于BDD模式,类自然语言语法
  • 支持自动化操作、表单提交、UI元素校验、键盘输入、Deeplink跳转等
  • 支持 Android、iOS、React Native、Flutter、Web
  • 多端脚本复用
  • 支持多浏览器渲染引擎:Chromium、WebKit 和 Firefox
  • 支持多浏览器并发模式下的兼容性测试
  • 默认支持英文、中文两种语言,支持更多语言扩展
  • 插件式设计,支持用户自定义自动化扩展
  • 提供cli脚手架,快速搭建项目
  • 提供html报告

Enjoying this?

请给我们支持,点上一颗 Star

教程

贡献

  1. Fork 仓库
  2. 创建分支 (git checkout -b my-new-feature)
  3. 提交修改 (git commit -am 'Add some feature')
  4. 推送 (git push origin my-new-feature)
  5. 创建 PR

欢迎 fork 和反馈

如有建议或意见,欢迎在 GitHub issues 区提问

协议

本仓库遵循 MIT 协议

致谢

感谢以下仓库让Flybirds变得更好:

技术交流

Chats

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].