Code Monkey home page Code Monkey logo

pytest-chinese-doc's Introduction

pytest-chinese-doc

pytest官方文档(5.1.3版本)的中文翻译,但不仅仅是简单的翻译:

  • 更多的例子,尽量做到每一知识点都有例子;
  • 更多的拓展阅读,部分章节添加了作者学习时,所查阅的资料;

所以这也是作者自身学习pytest的历程,希望能有更多的人了解这款优秀的测试框架;

环境

  • pytest版本:5.1.3
  • python版本:3.7.3

使用

  • git clone [email protected]:luizyao/pytest-chinese-doc.git仓库:

    docs/目录下包含所有的文章,以markdown格式编写;

    src/目录下包含所有的示例源码,以章节划分;

  • 进入项目的根目录下,执行以下命令:

    $ python3 -m venv .venv-5.1.3  # 使用虚拟环境
    $ source .venv-5.1.3/bin/activate  # 激活虚拟环境,不同的操作系统命令可能不一样
    $ pip install -r requirements.txt  # 安装依赖
    $ pytest --version  # 查看当前pytest的版本

目录

TODO

  • 阅读pytest源码
  • 基于pytest,实践一个WEB自动化框架

LICENSE

MIT LICENSE

其它获取途径

Breaking Changes

(2020-02-03)

  • 使用requirements.txt代替pipenv管理虚拟环境 (0b0bb24)

pytest-chinese-doc's People

Contributors

luizyao avatar

Watchers

James Cloos avatar

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.