matlab.unittest.FunctionTestCase クラス
名前空間: matlab.unittest
スーパークラス: matlab.unittest.TestCase
関数ベースのテスト用のテスト ケース
説明
matlab.unittest.FunctionTestCase クラスを使用して、ユニット テスト フレームワークを使用する関数ベースのテストを記述できます。matlab.unittest.FunctionTestCase クラスは matlab.unittest.TestCase クラスから派生したものであるため、matlab.unittest.qualifications 名前空間の検定関数を使用してテストを記述できます。
matlab.unittest.FunctionTestCase クラスは handle クラスです。
作成
FunctionTestCase オブジェクトを作成するには、テスト ファイルのメイン関数で関数 functiontests を呼び出します。それぞれのテスト関数について、テスト フレームワークで FunctionTestCase オブジェクトが作成され、それがテスト関数に渡されます。
プロパティ
バージョン履歴
R2013b で導入