... の名前が test*.py というパターンとは違っていても実行できます。 $ ./manage.py test --pattern = "tests_*.py" テストの実行中に Ctrl-C を押すと、テストランナーは現在実行中のテストが完了するのを待って、gracefully にテストを終了します。graceful な終了では、 ... 力し、実行したテストの数と、エラーおよび失敗したテストの数をレポートし、通常通りにテストデータベースを破棄します。そのため、 Ctrl-C を押すのは、たとえば、 --failfast オプションを付けるのを忘れて、一部のテストが予期せず失敗して、すべてのテストが終わるの ... 待たずにすぐにその失敗の詳細を知りたいような場合に大変役に立ちます。 現在実行中のテストの終了も待ちたくないときは、もう一度 Ctrl-C を押すことで、テストを graceful ではなく、すぐに強制終了できます。その場合、強制終了前に実行していたテストの詳細はリポー ... ... f the introduction of support for unittest2 , the features of django.test.simple.DjangoTestRunner (including fail-fast and Ctrl-C test termination) have been made redundant. In view of this redundancy, DjangoTestRunner has been turned into an empty p ... ... open-browser --delay 0 ...\> sphinx-autobuild . _build\html --open-browser --delay 0 The auto-reloader can be stopped with Ctrl+C . ドキュメントの編集 ソースファイルは docs/ ディレクトリにある .txt ファイルです。 これらのファイルはreStructuredTextマー ... ... ed. Instead use a unittest -native class. The features of the django.test.simple.DjangoTestRunner (including fail-fast and Ctrl-C test termination) can be provided by unittest.TextTestRunner . The undocumented function django.contrib.formtools.utils. ... ... the test runner to exit after encountering a failure instead of continuing with the test run. In addition, the handling of Ctrl-C during a test run has been improved to trigger a graceful exit from the test run that reports details of the tests that ... 2026年10月08日