createTestSuite
クラス: sltest.testmanager.TestFile
名前空間: sltest.testmanager
新しいテスト スイートを作成
構文
ts = createTestSuite(tf,suiteName)
入力引数
tf
— テスト ファイル
sltest.testmanager.TestFile
オブジェクト
作成したテスト スイートを含めるテスト ファイル。sltest.testmanager.TestFile
オブジェクトとして指定します。
suiteName
— テスト スイートの名前
string スカラー | 文字ベクトル
テスト スイートの名前。string スカラーまたは文字ベクトルとして指定します。
例: "My Test Suite"
出力引数
ts
— テスト スイート オブジェクト
sltest.testmanager.TestSuite
オブジェクト
テスト スイート。sltest.testmanager.TestSuite
オブジェクトとして返されます。
例
テスト スイートの作成
% Create a test file tf = sltest.testmanager.TestFile("My Test File"); % Create a test suite ts = createTestSuite(tf,"My Test Suite");
バージョン履歴
R2015b で導入
参考
MATLAB コマンド
次の MATLAB コマンドに対応するリンクがクリックされました。
コマンドを MATLAB コマンド ウィンドウに入力して実行してください。Web ブラウザーは MATLAB コマンドをサポートしていません。
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)