Skip to content

Commit f21afd5

Browse files
committed
update README to use pytest command
1 parent 9c797d0 commit f21afd5

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

README.rst

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,19 @@ TDDBC for Python with Pytest
1717
セットアップ
1818
============
1919

20+
以下のように実行して、環境を構築してください。
21+
2022
.. code-block:: sh
2123
24+
$ git clone https://github.com/yattom/python_pytest.git
25+
$ cd python_pytest
2226
$ pip3 install -r requirements.txt
2327
24-
**setup.py** を実行し
28+
テストを実行するには **pytest** コマンドを使います。
2529

2630
.. code-block:: sh
2731
28-
$ python3 setup.py test
32+
$ pytest
2933
3034
...
3135
@@ -40,7 +44,8 @@ TDDBC for Python with Pytest
4044
tests/acme/test_snake.py::TestPython::test_be_out_of_question PASSED [ 33%]
4145
tests/acme/test_snake.py::TestMontyPython::test_say_name[Monty Python] PASSED [ 66%]
4246
tests/acme/test_snake.py::TestMontyPython::test_say_name[John Smith] PASSED [100%]
43-
============================== 3 passed in 0.05s ===============================
47+
48+
============================== 3 passed in 0.04s ===============================
4449
4550
のように正常終了すればOKです
4651

0 commit comments

Comments
 (0)