项目作者: stribny

项目描述 :
The complete guide to Pytest
高级语言: Python
项目地址: git://github.com/stribny/python-pytest.git
创建时间: 2020-11-09T20:01:46Z
项目社区:https://github.com/stribny/python-pytest

开源协议:

下载


Testing Python applications with pytest

This project demonstrates various ways to test Python programs.

Read the article: Testing Python applications with Pytest.

Installation & Usage

To install the project:

  1. poetry install

To run the examples, we need to enter the virtual environment:

  1. poetry shell

Now we can run the test suite with:

  1. pytest

Licence

Author: Petr Stříbný

License: The MIT License (MIT)