File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed
Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments