Skip to content

Commit 2728619

Browse files
committed
update README
1 parent cd811ad commit 2728619

File tree

1 file changed

+19
-4
lines changed

1 file changed

+19
-4
lines changed

README.rst

+19-4
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,30 @@ TDDBC for Python with Pytest
3030
.. code-block:: sh
3131
3232
$ pytest
33-
3433
...
34+
# Output sample
35+
============================= test session starts ==============================
36+
platform linux -- Python 3.8.5, pytest-6.2.4, py-1.10.0, pluggy-0.13.1
37+
rootdir: /root/work/python_pytest
38+
plugins: cov-2.11.1
39+
collected 3 items
3540
41+
tests/acme/test_snake.py ... [100%]
42+
============================== 3 passed in 0.03s ===============================
43+
44+
のように正常終了すればOKです
45+
46+
実行したテストを1つずつ表示するには **-v** オプションを使います。
47+
48+
.. code-block:: sh
49+
50+
$ pytest -v
51+
...
3652
# Output sample
3753
============================= test session starts ==============================
38-
platform linux -- Python 3.8.5, pytest-6.2.4, py-1.10.0, pluggy-0.13.1 -- /usr/bin/python3
54+
platform linux -- Python 3.8.5, pytest-6.2.4, py-1.10.0, pluggy-0.13.1 -- /root/work/python_pytest/.venv/bin/python3
3955
cachedir: .pytest_cache
40-
rootdir: /root/work/python_pytest, configfile: setup.cfg
56+
rootdir: /root/work/python_pytest
4157
plugins: cov-2.11.1
4258
collected 3 items
4359
@@ -47,7 +63,6 @@ TDDBC for Python with Pytest
4763
4864
============================== 3 passed in 0.04s ===============================
4965
50-
のように正常終了すればOKです
5166
5267
ライセンス
5368
==========

0 commit comments

Comments
 (0)