GithubHelp home page GithubHelp logo

jinwu18 / web-app-h5-api-pytestautomation Goto Github PK

View Code? Open in Web Editor NEW
19.0 2.0 8.0 9.97 MB

有关自动化测试的一套框架,通过pytest实现ui、app、api、h5的测试脚本执行及管理,并生成测试报告。如果喜欢麻烦给个star

Python 100.00%
pytest python3 automation-framework automation-ui automation-testing automation api ui appium app

web-app-h5-api-pytestautomation's Introduction

设计**

  • 通过requests, BeautifulSoup实现API自动化,保证后端API主要功能及业务流程

  • 通过selenium实现web UI自动化,appium+stf实现android UI自动化,保证前端页面操作功能及业务流程

  • 通过pytest对测试脚本进行管理,allure report 实现报告输出

  • 通过jenkins实现脚本CI,tomcat实现测试报告线上化

  • 使用python作为脚本语言

设计框架(autotestFrame.png)

说明

  • pytest:测试用例管理

  • allure:测试报告

代码结构

├─framework 测试框架

│ ├─base - 自动化测试基础类

│ ├─web - web端driver管理基础类

│ ├─driver - web脚本执行基础类

│ ├─app - app脚本执行基础类

├─utils 测试工具类(文件处理等)

├─page 测试页面对象类

├─script 业务、功能脚本

脚本执行后,通过allure生成测试报告(allure_report.png)

项目部署 https://blog.csdn.net/jinwu18/article/details/106343588

web-app-h5-api-pytestautomation's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

web-app-h5-api-pytestautomation's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.