per page, with , order by , clip by
Results of 1 - 10 of about 40 for unittest (0.009 sec.)
テストを書いて実行する — Django 6.1 ドキュメント 12528
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » テストを書いて実行する ¶ 参考 テストチュートリアル 、 テストツールリファレンス 、 テストに関する応用的なトピック も参照 ドキュメントは2つの大きなセク ... ストの実行の仕方について説明します。 テストを書く ¶ Django のユニットテストには、Python スタンダードライブラリのモジュール、 unittest を使用します。このモジュールは、テストをクラスベースのアプローチで定義します。 次の例では、 unittest.TestCase のサブクラス ... と、テストユーティリティのデフォルトの動作として、ファイル名が test で始まるファイル内のすべてのテストケースクラス (つまり unittest.TestCase のサブクラス) を見つけ、それらのテストケースクラスから自動的にテストスイートを構築し、そのテストスイートを実行しま ... す。 unittest の詳細については、Python のドキュメントを読んでください。 どこにテストを書くべき? デフォルトの startapp テンプレートは、新 ...
https://man.mtool.work/django/6.1/topics/testing/overview.html
テストを書いて実行する — Django 6.1 ドキュメント 12528
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » テストを書いて実行する ¶ 参考 テストチュートリアル 、 テストツールリファレンス 、 テストに関する応用的なトピック も参照 ドキュメントは2つの大きなセク ... ストの実行の仕方について説明します。 テストを書く ¶ Django のユニットテストには、Python スタンダードライブラリのモジュール、 unittest を使用します。このモジュールは、テストをクラスベースのアプローチで定義します。 次の例では、 unittest.TestCase のサブクラス ... と、テストユーティリティのデフォルトの動作として、ファイル名が test で始まるファイル内のすべてのテストケースクラス (つまり unittest.TestCase のサブクラス) を見つけ、それらのテストケースクラスから自動的にテストスイートを構築し、そのテストスイートを実行しま ... す。 unittest の詳細については、Python のドキュメントを読んでください。 どこにテストを書くべき? デフォルトの startapp テンプレートは、新 ...
https://man.mtool.work/django/6.1/topics/testing/overview.html
Django 1.3 リリースノート — Django 6.1 ドキュメント 11108
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.3 リリースノート ¶ March 23, 2011 Django 1.3 へようこそ! Nearly a year in the making, Django 1.3 includes quite a few new features and plen ... Contrib support for easy handling of static files . Django's testing framework now supports (and ships with a copy of) the unittest2 library . Wherever possible, new features are introduced in a backwards-compatible manner per our API stability policy po ... e served at STATIC_URL . See the reference documentation of the app for more details or learn how to manage static files . unittest2 のサポート ¶ Python 2.7 では unittest ライブラリに大きな変更が加えられ、非常に便利な機能が追加されました。すべての Django ... クトがこれらの新機能の恩恵を受けられるように、Django には Python 2.4 との互換性を保つためにバックポートされた Python 2.7 の unittest ライブラリのコピーである unittest2 が同梱されています。 To access this library, Django provides the django.utils.unittest ...
https://man.mtool.work/django/6.1/releases/1.3.html
Django 1.3 リリースノート — Django 6.1 ドキュメント 11108
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.3 リリースノート ¶ March 23, 2011 Django 1.3 へようこそ! Nearly a year in the making, Django 1.3 includes quite a few new features and plen ... Contrib support for easy handling of static files . Django's testing framework now supports (and ships with a copy of) the unittest2 library . Wherever possible, new features are introduced in a backwards-compatible manner per our API stability policy po ... e served at STATIC_URL . See the reference documentation of the app for more details or learn how to manage static files . unittest2 のサポート ¶ Python 2.7 では unittest ライブラリに大きな変更が加えられ、非常に便利な機能が追加されました。すべての Django ... クトがこれらの新機能の恩恵を受けられるように、Django には Python 2.4 との互換性を保つためにバックポートされた Python 2.7 の unittest ライブラリのコピーである unittest2 が同梱されています。 To access this library, Django provides the django.utils.unittest ...
https://man.mtool.work/django/6.1/releases/1.3.html
テストツール — Django 6.1 ドキュメント 9907
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » テストツール ¶ Django は、テストを書くのに便利なツールをいくつか提供しています。 There are community-maintained solutions! Django has a vibrant ecos ... 的にアクティブな言語をセットする にあります。 カスタマイズ例 ¶ 以下は、テストクライアントを使ったユニットテストです。 import unittest from django.test import Client class SimpleTest ( unittest . TestCase ): def setUp ( self ): # Every test needs a client. ... stomers" ]), 5 ) 参考 django.test.RequestFactory 提供されるテストケースのクラス ¶ 標準の Python ユニットテストのクラスは、 unittest.TestCase のベースクラスを拡張しています。Django は、このベースクラスのいくつかの拡張を提供します。 Django ユニットテストク ... ラスの階層 ¶ 通常の unittest.TestCase は、任意のサブクラスに変換できます。つまり、テストのベースクラスを unittest.TestCase からサブクラスに変更します。 ...
https://man.mtool.work/django/6.1/topics/testing/tools.html
テストツール — Django 6.1 ドキュメント 9907
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » テストツール ¶ Django は、テストを書くのに便利なツールをいくつか提供しています。 There are community-maintained solutions! Django has a vibrant ecos ... 的にアクティブな言語をセットする にあります。 カスタマイズ例 ¶ 以下は、テストクライアントを使ったユニットテストです。 import unittest from django.test import Client class SimpleTest ( unittest . TestCase ): def setUp ( self ): # Every test needs a client. ... stomers" ]), 5 ) 参考 django.test.RequestFactory 提供されるテストケースのクラス ¶ 標準の Python ユニットテストのクラスは、 unittest.TestCase のベースクラスを拡張しています。Django は、このベースクラスのいくつかの拡張を提供します。 Django ユニットテストク ... ラスの階層 ¶ 通常の unittest.TestCase は、任意のサブクラスに変換できます。つまり、テストのベースクラスを unittest.TestCase からサブクラスに変更します。 ...
https://man.mtool.work/django/6.1/topics/testing/tools.html
Django 1.7 リリースノート — Django 6.1 ドキュメント 8300
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.7 リリースノート ¶ September 2, 2014 Django 1.7 へようこそ! このリリースノートでは、 バージョン 1.7 の新機能 と、Django 1.6 以前からアップグ ... tils.timezone , django.utils.timezone.get_default_timezone() and django.utils.timezone.get_fixed_timezone() . django.utils.unittest ¶ django.utils.unittest provided uniform access to the unittest2 library on all Python versions. Since unittest2 became th ... e standard library's unittest module in Python 2.7, and Django 1.7 drops support for older Python versions, this module isn't useful anymore. It has bee ... n deprecated. Use unittest instead. django.utils.datastructures.SortedDict ¶ As OrderedDict was added to the standard library in Python 2.7, SortedDi ...
https://man.mtool.work/django/6.1/releases/1.7.html
Django 1.7 リリースノート — Django 6.1 ドキュメント 8300
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.7 リリースノート ¶ September 2, 2014 Django 1.7 へようこそ! このリリースノートでは、 バージョン 1.7 の新機能 と、Django 1.6 以前からアップグ ... tils.timezone , django.utils.timezone.get_default_timezone() and django.utils.timezone.get_fixed_timezone() . django.utils.unittest ¶ django.utils.unittest provided uniform access to the unittest2 library on all Python versions. Since unittest2 became th ... e standard library's unittest module in Python 2.7, and Django 1.7 drops support for older Python versions, this module isn't useful anymore. It has bee ... n deprecated. Use unittest instead. django.utils.datastructures.SortedDict ¶ As OrderedDict was added to the standard library in Python 2.7, SortedDi ...
https://man.mtool.work/django/6.1/releases/1.7.html
テストに関する高度なトピック — Django 6.1 ドキュメント 8097
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » テストに関する高度なトピック ¶ RequestFactory(リクエスト ファクトリ) ¶ class RequestFactory [ソース] ¶ RequestFactory はテストクライアントと同じ A ... るので、その models.py ファイルにテスト専用のモデルを定義することもできます。 ほかのテストフレームワークを使う ¶ 明らかに、 unittest は唯一のPythonテストフレームワークではありません。Djangoは代替フレームワークに対する明示的なサポートを提供していませんが、 ... 引数を使用できるようになります。 属性 ¶ DiscoverRunner. test_suite ¶ テストスイートのビルドに使用するクラス。デフォルトでは unittest.TestSuite に設定されています。テストを収集するために別のロジックを実装したい場合は、これをオーバーライドできます。 Discove ... r ¶ これは低レベルテストランナーのクラスで、個々のテストを実行し、結果をフォーマットするために使用されます。デフォルトでは unittest.TextTestRunner に設定されています。似たような名前になっていますが、残念ながらこれは DiscoverRunner と同じ種類のクラスではあ ...
https://man.mtool.work/django/6.1/topics/testing/advanced.html
テストに関する高度なトピック — Django 6.1 ドキュメント 8097
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » テストに関する高度なトピック ¶ RequestFactory(リクエスト ファクトリ) ¶ class RequestFactory [ソース] ¶ RequestFactory はテストクライアントと同じ A ... るので、その models.py ファイルにテスト専用のモデルを定義することもできます。 ほかのテストフレームワークを使う ¶ 明らかに、 unittest は唯一のPythonテストフレームワークではありません。Djangoは代替フレームワークに対する明示的なサポートを提供していませんが、 ... 引数を使用できるようになります。 属性 ¶ DiscoverRunner. test_suite ¶ テストスイートのビルドに使用するクラス。デフォルトでは unittest.TestSuite に設定されています。テストを収集するために別のロジックを実装したい場合は、これをオーバーライドできます。 Discove ... r ¶ これは低レベルテストランナーのクラスで、個々のテストを実行し、結果をフォーマットするために使用されます。デフォルトでは unittest.TextTestRunner に設定されています。似たような名前になっていますが、残念ながらこれは DiscoverRunner と同じ種類のクラスではあ ...
https://man.mtool.work/django/6.1/topics/testing/advanced.html
PREV 1 2 3 4 NEXT