per page, with , order by , clip by
Results of 1 - 10 of about 58 for TestCase (0.018 sec.)
索引 — Python 3.14.8 ドキュメント 13041
ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » 索引 テーマ 自動 ライト ダーク | Index – A A (re モジュール) a2b_base64() (binascii モジュール) a2b_hex() (binascii モジュール) a2b_qp() (binascii モジュール) a2b_uu() (binasc ... er() (urllib.request.Request のメソッド) add_writer() (asyncio.loop のメソッド) addAsyncCleanup() (unittest.IsolatedAsyncioTestCase のメソッド) addaudithook() (sys モジュール) addch() (curses.window のメソッド) addClassCleanup() (unittest.TestCase のクラ ... スメソッド) addCleanup() (unittest.TestCase のメソッド) addcomponent() (turtle.Shape のメソッド) addDuration() (unittest.TestResult のメソッド) addError() (unittest.T ... ソッド) addTest() (unittest.TestSuite のメソッド) addTests() (unittest.TestSuite のメソッド) addTypeEqualityFunc() (unittest.TestCase のメソッド) addUnexpectedSuccess() (unittest.TestResult のメソッド) adjust_int_max_str_digits() (test.support モジュール) ...
https://man.mtool.work/python/3.14/genindex-A.html
索引 — Python 3.14.8 ドキュメント 13041
ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » 索引 テーマ 自動 ライト ダーク | Index – A A (re モジュール) a2b_base64() (binascii モジュール) a2b_hex() (binascii モジュール) a2b_qp() (binascii モジュール) a2b_uu() (binasc ... er() (urllib.request.Request のメソッド) add_writer() (asyncio.loop のメソッド) addAsyncCleanup() (unittest.IsolatedAsyncioTestCase のメソッド) addaudithook() (sys モジュール) addch() (curses.window のメソッド) addClassCleanup() (unittest.TestCase のクラ ... スメソッド) addCleanup() (unittest.TestCase のメソッド) addcomponent() (turtle.Shape のメソッド) addDuration() (unittest.TestResult のメソッド) addError() (unittest.T ... ソッド) addTest() (unittest.TestSuite のメソッド) addTests() (unittest.TestSuite のメソッド) addTypeEqualityFunc() (unittest.TestCase のメソッド) addUnexpectedSuccess() (unittest.TestResult のメソッド) adjust_int_max_str_digits() (test.support モジュール) ...
https://man.mtool.work/python/3.14/genindex-A.html
unittest --- ユニットテストフレームワーク — Python 3.14.8 ドキュメント 11431
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 開発ツール » unittest --- ユニットテストフレームワーク テーマ 自動 ライト ダーク | unittest --- ユニットテストフレームワーク ¶ ソー ... ために必要な準備や終了処理を指します。例: テスト用データベースの作成・ディレクトリ・サーバプロセスの起動など。 テストケース (test case) A test case is the individual unit of testing. It checks for a specific response to a particular set of inputs. unittest ... provides a base class, TestCase , which may be used to create new test cases. テストスイート (test suite) テストスイート ( test suite ) はテストケースとテ ... f most users. 以下は、三つの文字列メソッドをテストするスクリプトです: import unittest class TestStringMethods ( unittest . TestCase ): def test_upper ( self ): self . assertEqual ( 'foo' . upper (), 'FOO' ) def test_isupper ( self ): self . assertTrue ( ...
https://man.mtool.work/python/3.14/library/unittest.html
unittest --- ユニットテストフレームワーク — Python 3.14.8 ドキュメント 11373
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 開発ツール » unittest --- ユニットテストフレームワーク テーマ 自動 ライト ダーク | unittest --- ユニットテストフレームワーク ¶ ソー ... ために必要な準備や終了処理を指します。例: テスト用データベースの作成・ディレクトリ・サーバプロセスの起動など。 テストケース (test case) A test case is the individual unit of testing. It checks for a specific response to a particular set of inputs. unittest ... provides a base class, TestCase , which may be used to create new test cases. テストスイート (test suite) テストスイート ( test suite ) はテストケースとテ ... f most users. 以下は、三つの文字列メソッドをテストするスクリプトです: import unittest class TestStringMethods ( unittest . TestCase ): def test_upper ( self ): self . assertEqual ( 'foo' . upper (), 'FOO' ) def test_isupper ( self ): self . assertTrue ( ...
https://man.mtool.work/python/3.14/library/unittest.html
索引 — Python 3.14.8 ドキュメント 9616
ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » 索引 テーマ 自動 ライト ダーク | 索引 記号 | _ | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | イ | エ | オ | カ | キ ... er() (urllib.request.Request のメソッド) add_writer() (asyncio.loop のメソッド) addAsyncCleanup() (unittest.IsolatedAsyncioTestCase のメソッド) addaudithook() (sys モジュール) addch() (curses.window のメソッド) addClassCleanup() (unittest.TestCase のクラ ... スメソッド) addCleanup() (unittest.TestCase のメソッド) addcomponent() (turtle.Shape のメソッド) addDuration() (unittest.TestResult のメソッド) addError() (unittest.T ... ソッド) addTest() (unittest.TestSuite のメソッド) addTests() (unittest.TestSuite のメソッド) addTypeEqualityFunc() (unittest.TestCase のメソッド) addUnexpectedSuccess() (unittest.TestResult のメソッド) adjust_int_max_str_digits() (test.support モジュール) ...
https://man.mtool.work/python/3.14/genindex-all.html
索引 — Python 3.14.8 ドキュメント 8606
ナビゲーション 索引 モジュール | Python » 3.14.8 Documentation » 索引 テーマ 自動 ライト ダーク | 索引 記号 | _ | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | イ | エ | オ | カ | キ ... er() (urllib.request.Request のメソッド) add_writer() (asyncio.loop のメソッド) addAsyncCleanup() (unittest.IsolatedAsyncioTestCase のメソッド) addaudithook() (sys モジュール) addch() (curses.window のメソッド) addClassCleanup() (unittest.TestCase のクラ ... スメソッド) addCleanup() (unittest.TestCase のメソッド) addcomponent() (turtle.Shape のメソッド) addDuration() (unittest.TestResult のメソッド) addError() (unittest.T ... ソッド) addTest() (unittest.TestSuite のメソッド) addTests() (unittest.TestSuite のメソッド) addTypeEqualityFunc() (unittest.TestCase のメソッド) addUnexpectedSuccess() (unittest.TestResult のメソッド) adjust_int_max_str_digits() (test.support モジュール) ...
https://man.mtool.work/python/3.14/genindex-all.html
test --- Regression tests package for Python — Python 3.14.8 ドキュメント 8504
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 開発ツール » test --- Regression tests package for Python テーマ 自動 ライト ダーク | test --- Regression tests package for Python ... るのかをいちいち表示したくないからです。 以下のような決まり文句を使います: import unittest from test import support class MyTestCase1 ( unittest . TestCase ): # Only use setUp() and tearDown() if necessary def setUp ( self ): ... code to execute in prepar ... testing code ... def test_feature_two ( self ): # Test feature two. ... testing code ... ... more test methods ... class MyTestCase2 ( unittest . TestCase ): ... same structure as MyTestCase1 ... ... more test classes ... if __name__ == '__main__' : unit ... Function def test_func ( self ): self . func ( self . arg ) class AcceptLists ( TestFuncAcceptsSequencesMixin , unittest . TestCase ): arg = [ 1 , 2 , 3 ] class AcceptStrings ( TestFuncAcceptsSequencesMixin , unittest . TestCase ): arg = 'abc' class Acce ...
https://man.mtool.work/python/3.14/library/test.html
test --- Regression tests package for Python — Python 3.14.8 ドキュメント 8504
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 開発ツール » test --- Regression tests package for Python テーマ 自動 ライト ダーク | test --- Regression tests package for Python ... るのかをいちいち表示したくないからです。 以下のような決まり文句を使います: import unittest from test import support class MyTestCase1 ( unittest . TestCase ): # Only use setUp() and tearDown() if necessary def setUp ( self ): ... code to execute in prepar ... testing code ... def test_feature_two ( self ): # Test feature two. ... testing code ... ... more test methods ... class MyTestCase2 ( unittest . TestCase ): ... same structure as MyTestCase1 ... ... more test classes ... if __name__ == '__main__' : unit ... Function def test_func ( self ): self . func ( self . arg ) class AcceptLists ( TestFuncAcceptsSequencesMixin , unittest . TestCase ): arg = [ 1 , 2 , 3 ] class AcceptStrings ( TestFuncAcceptsSequencesMixin , unittest . TestCase ): arg = 'abc' class Acce ...
https://man.mtool.work/python/3.14/library/test.html
unittest.mock --- 入門 — Python 3.14.8 ドキュメント 7494
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 開発ツール » unittest.mock --- 入門 テーマ 自動 ライト ダーク | unittest.mock --- 入門 ¶ Added in version 3.3. Mock を使う ¶ Mock p ... sentinel . attribute ... >>> test () テストメソッド自体をデコレートするのは良いパターンです: >>> class MyTest ( unittest . TestCase ): ... @patch . object ( SomeClass , 'attribute' , sentinel . attribute ) ... def test_something ( self ): ... self . asse ... ect() を2引数で) 使うことができます。mock が自動で生成され、テスト関数/メソッドに渡されます: >>> class MyTest ( unittest . TestCase ): ... @patch . object ( SomeClass , 'static_method' ) ... def test_something ( self , mock_method ): ... SomeClass . stat ... omething' ) . test_something () 次のパターンのように patch デコレータを重ねることができます: >>> class MyTest ( unittest . TestCase ): ... @patch ( 'package.module.ClassName1' ) ... @patch ( 'package.module.ClassName2' ) ... def test_something ( self , M ...
https://man.mtool.work/python/3.14/library/unittest.mock-examples.html
unittest.mock --- 入門 — Python 3.14.8 ドキュメント 7494
ナビゲーション 索引 モジュール | 次へ | 前へ | Python » 3.14.8 Documentation » The Python standard library » 開発ツール » unittest.mock --- 入門 テーマ 自動 ライト ダーク | unittest.mock --- 入門 ¶ Added in version 3.3. Mock を使う ¶ Mock p ... sentinel . attribute ... >>> test () テストメソッド自体をデコレートするのは良いパターンです: >>> class MyTest ( unittest . TestCase ): ... @patch . object ( SomeClass , 'attribute' , sentinel . attribute ) ... def test_something ( self ): ... self . asse ... ect() を2引数で) 使うことができます。mock が自動で生成され、テスト関数/メソッドに渡されます: >>> class MyTest ( unittest . TestCase ): ... @patch . object ( SomeClass , 'static_method' ) ... def test_something ( self , mock_method ): ... SomeClass . stat ... omething' ) . test_something () 次のパターンのように patch デコレータを重ねることができます: >>> class MyTest ( unittest . TestCase ): ... @patch ( 'package.module.ClassName1' ) ... @patch ( 'package.module.ClassName2' ) ... def test_something ( self , M ...
https://man.mtool.work/python/3.14/library/unittest.mock-examples.html
PREV 1 2 3 4 5 6 NEXT