Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/m-tmatma/pytest-mock-test
test for pytest-mock
https://github.com/m-tmatma/pytest-mock-test
Last synced: about 7 hours ago
JSON representation
test for pytest-mock
- Host: GitHub
- URL: https://github.com/m-tmatma/pytest-mock-test
- Owner: m-tmatma
- Created: 2022-01-29T07:54:20.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-01-29T08:15:37.000Z (almost 3 years ago)
- Last Synced: 2023-08-04T08:24:41.801Z (over 1 year ago)
- Language: Python
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# test for pytest-mock
This repository is for testing [pytest-mock](https://github.com/pytest-dev/pytest-mock)
## On Ubuntu
### how to prepare (事前準備)
Run this command to run on python3 and install `pytest` and `pytest-mock`.
(python3 上で実行するために以下のコマンドで `pytest` および `pytest-mock` をインストールする。)```
sudo apt install -y python3-pytest python3-pytest-mock
```### How to run (実行方法)
The point to run on ubuntu is use `pytest-3` on ubuntu.(Ubuntu 上で実行する場合のポイントは `pytest-3` を使うこと。)
#### run all tests in the current directory. (カレントディレクトリにあるすべてのテストを実行)
```
pytest-3 -vv .
```#### run all tests in the specified test script. (指定したスクリプトのすべてのテストを実行)
```
pytest-3 -vv ./test_builtin_mock.py
```