per page, with , order by , clip by
Results of 1 - 10 of about 50 for TransactionTestCase (0.007 sec.)
テストツール — Django 6.1 ドキュメント 11685
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » テストツール ¶ Django は、テストを書くのに便利なツールをいくつか提供しています。 There are community-maintained solutions! Django has a vibrant ecos ... and asynchronous test clients via the client and async_client attributes. データベースクエリを作る手薄との場合、サブクラス TransactionTestCase や TestCase を使用してください。 SimpleTestCase. databases ¶ SimpleTestCase はデフォルトでデータベースクエリを許可しません ... st などの例外を意図的に発生させたい場合は、この問題を避けるために、必ず super() を呼び出す前に実行するようにしてください。 TransactionTestCase ¶ class TransactionTestCase [ソース] ¶ TransactionTestCase は SimpleTestCase を継承し、以下のようなデータベースに特有の機能 ... 機能をもとにしたスキップ 。 それ以外の特別な assert* メソッド。 Django's TestCase class is a more commonly used subclass of TransactionTestCase that makes use of database transaction facilities to speed up the process of resetting the database to a known state at th ...
https://man.mtool.work/django/6.1/topics/testing/tools.html
テストツール — Django 6.1 ドキュメント 11685
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » テストツール ¶ Django は、テストを書くのに便利なツールをいくつか提供しています。 There are community-maintained solutions! Django has a vibrant ecos ... and asynchronous test clients via the client and async_client attributes. データベースクエリを作る手薄との場合、サブクラス TransactionTestCase や TestCase を使用してください。 SimpleTestCase. databases ¶ SimpleTestCase はデフォルトでデータベースクエリを許可しません ... st などの例外を意図的に発生させたい場合は、この問題を避けるために、必ず super() を呼び出す前に実行するようにしてください。 TransactionTestCase ¶ class TransactionTestCase [ソース] ¶ TransactionTestCase は SimpleTestCase を継承し、以下のようなデータベースに特有の機能 ... 機能をもとにしたスキップ 。 それ以外の特別な assert* メソッド。 Django's TestCase class is a more commonly used subclass of TransactionTestCase that makes use of database transaction facilities to speed up the process of resetting the database to a known state at th ...
https://man.mtool.work/django/6.1/topics/testing/tools.html
Django 1.5 リリースノート — Django 6.1 ドキュメント 10572
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.5 リリースノート ¶ February 26, 2013 Django 1.5 へようこそ! These release notes cover the new features , as well as some backwards incompat ... ed in the execution of tests that might be backward-incompatible for some testing setups: Database flushing in django.test.TransactionTestCase ¶ Previously, the test database was truncated before each test run in a TransactionTestCase . In order to be able to run u ... nit tests in any order and to make sure they are always isolated from each other, TransactionTestCase will now reset the database after each test run instead. No more implicit DB sequences reset ¶ TransactionTestCase tests u ... the database flushing actions described above. This has been changed so no sequences are implicitly reset. This can cause TransactionTestCase tests that depend on hardcoded primary key values to break. The new reset_sequences attribute can be used to force the old ...
https://man.mtool.work/django/6.1/releases/1.5.html
テストに関する高度なトピック — Django 6.1 ドキュメント 10572
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » テストに関する高度なトピック ¶ RequestFactory(リクエスト ファクトリ) ¶ class RequestFactory [ソース] ¶ RequestFactory はテストクライアントと同じ A ... でデータの複製が行われていることが原因ではありません。これはトランザクションに依存しているので、テストでは TestCase ではなく TransactionTestCase を使う必要があります。 テストデータベースの作成順をコントロールする ¶ デフォルトでは、 Django は全てのデータベースが defau ... が作成され、最後に spades が作成されます。 DEPENDENCIES の定義に循環依存がある場合、 ImproperlyConfigured 例外が発生します。 TransactionTestCase の高度な機能 ¶ TransactionTestCase. available_apps ¶ 警告 この属性はプライベートAPIです。例えば、アプリケーションの読み込み ... にアプリケーションのリストを指定すると、 Django はこれらのアプリケーションのモデルだけが利用可能であるかのように動作します。 TransactionTestCase の動作は以下のように変わります: post_migrate は、利用可能なアプリケーションの各モデルに対して、存在しない場合にコンテンツタ ...
https://man.mtool.work/django/6.1/topics/testing/advanced.html
Django 1.5 リリースノート — Django 6.1 ドキュメント 10572
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.5 リリースノート ¶ February 26, 2013 Django 1.5 へようこそ! These release notes cover the new features , as well as some backwards incompat ... ed in the execution of tests that might be backward-incompatible for some testing setups: Database flushing in django.test.TransactionTestCase ¶ Previously, the test database was truncated before each test run in a TransactionTestCase . In order to be able to run u ... nit tests in any order and to make sure they are always isolated from each other, TransactionTestCase will now reset the database after each test run instead. No more implicit DB sequences reset ¶ TransactionTestCase tests u ... the database flushing actions described above. This has been changed so no sequences are implicitly reset. This can cause TransactionTestCase tests that depend on hardcoded primary key values to break. The new reset_sequences attribute can be used to force the old ...
https://man.mtool.work/django/6.1/releases/1.5.html
テストに関する高度なトピック — Django 6.1 ドキュメント 10572
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » テストに関する高度なトピック ¶ RequestFactory(リクエスト ファクトリ) ¶ class RequestFactory [ソース] ¶ RequestFactory はテストクライアントと同じ A ... でデータの複製が行われていることが原因ではありません。これはトランザクションに依存しているので、テストでは TestCase ではなく TransactionTestCase を使う必要があります。 テストデータベースの作成順をコントロールする ¶ デフォルトでは、 Django は全てのデータベースが defau ... が作成され、最後に spades が作成されます。 DEPENDENCIES の定義に循環依存がある場合、 ImproperlyConfigured 例外が発生します。 TransactionTestCase の高度な機能 ¶ TransactionTestCase. available_apps ¶ 警告 この属性はプライベートAPIです。例えば、アプリケーションの読み込み ... にアプリケーションのリストを指定すると、 Django はこれらのアプリケーションのモデルだけが利用可能であるかのように動作します。 TransactionTestCase の動作は以下のように変わります: post_migrate は、利用可能なアプリケーションの各モデルに対して、存在しない場合にコンテンツタ ...
https://man.mtool.work/django/6.1/topics/testing/advanced.html
Django 2.2 リリースノート — Django 6.1 ドキュメント 9926
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 2.2 リリースノート ¶ April 1, 2019 Django 2.2 へようこそ! このリリースノートでは、 バージョン 2.2 の新機能 と、Django 2.1 以前からアップグレー ... dmin ( BaseAdmin ): actions = BaseAdmin . actions + [ "b" ] django.contrib.gis ¶ Support for GDAL 1.9 and 1.10 is dropped. TransactionTestCase serialized data loading ¶ Initial data migrations are now loaded in TransactionTestCase at the end of the test, after the ... was empty at the end of the whole test suite). This change shouldn't have an impact on your tests unless you've customized TransactionTestCase 's internals. sqlparse is required dependency ¶ Django のデータベース処理の一部をシンプルにするため、 sqlparse 0.2.2+ との ... it. Support for overrides that don't accept it will be removed in Django 3.1. The SimpleTestCase.allow_database_queries , TransactionTestCase.multi_db , and TestCase.multi_db attributes are deprecated in favor of SimpleTestCase.databases , TransactionTestCase.data ...
https://man.mtool.work/django/6.1/releases/2.2.html
Django 2.2 リリースノート — Django 6.1 ドキュメント 9926
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 2.2 リリースノート ¶ April 1, 2019 Django 2.2 へようこそ! このリリースノートでは、 バージョン 2.2 の新機能 と、Django 2.1 以前からアップグレー ... dmin ( BaseAdmin ): actions = BaseAdmin . actions + [ "b" ] django.contrib.gis ¶ Support for GDAL 1.9 and 1.10 is dropped. TransactionTestCase serialized data loading ¶ Initial data migrations are now loaded in TransactionTestCase at the end of the test, after the ... was empty at the end of the whole test suite). This change shouldn't have an impact on your tests unless you've customized TransactionTestCase 's internals. sqlparse is required dependency ¶ Django のデータベース処理の一部をシンプルにするため、 sqlparse 0.2.2+ との ... it. Support for overrides that don't accept it will be removed in Django 3.1. The SimpleTestCase.allow_database_queries , TransactionTestCase.multi_db , and TestCase.multi_db attributes are deprecated in favor of SimpleTestCase.databases , TransactionTestCase.data ...
https://man.mtool.work/django/6.1/releases/2.2.html
テストを書いて実行する — Django 6.1 ドキュメント 9129
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » テストを書いて実行する ¶ 参考 テストチュートリアル 、 テストツールリファレンス 、 テストに関する応用的なトピック も参照 ドキュメントは2つの大きなセク ... クラスが最初に実行されます。 そして、他のすべての Django ベースのテスト ( SimpleTestCase をベースとしたテストケースクラス、 TransactionTestCase を含む) が、特定の順序を保証も強制もしない状態で実行されます。 最後に、その他の unittest.TestCase テスト (doctests を含む) ... あることもあります。 注釈 この新しいテスト順序は、テストケース順序の予期しない依存関係を明らかにするかもしれません。これは、 TransactionTestCase によってデータベース内に記述された宣言に依存する doctests のケースで、これらは独立的に実行できるように修正する必要がありま ... ます。 ロールバックのエミュレーション ¶ マイグレーションで呼び出されるあらゆる初期データは、 TestCase テスト内のみで有効で、 TransactionTestCase 内では無効です。加えて、トランザクションがサポートされるバックエンドのみで有効です (最も重要な例外は MyISAM です)。これは、 ...
https://man.mtool.work/django/6.1/topics/testing/overview.html
テストを書いて実行する — Django 6.1 ドキュメント 8497
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » テストを書いて実行する ¶ 参考 テストチュートリアル 、 テストツールリファレンス 、 テストに関する応用的なトピック も参照 ドキュメントは2つの大きなセク ... クラスが最初に実行されます。 そして、他のすべての Django ベースのテスト ( SimpleTestCase をベースとしたテストケースクラス、 TransactionTestCase を含む) が、特定の順序を保証も強制もしない状態で実行されます。 最後に、その他の unittest.TestCase テスト (doctests を含む) ... あることもあります。 注釈 この新しいテスト順序は、テストケース順序の予期しない依存関係を明らかにするかもしれません。これは、 TransactionTestCase によってデータベース内に記述された宣言に依存する doctests のケースで、これらは独立的に実行できるように修正する必要がありま ... ます。 ロールバックのエミュレーション ¶ マイグレーションで呼び出されるあらゆる初期データは、 TestCase テスト内のみで有効で、 TransactionTestCase 内では無効です。加えて、トランザクションがサポートされるバックエンドのみで有効です (最も重要な例外は MyISAM です)。これは、 ...
https://man.mtool.work/django/6.1/topics/testing/overview.html
PREV 1 2 3 4 5 NEXT