Ael.test.Runnerクラス
説明
テストケースを実行するランナーです。
instanceプロパティ
testcases
instance testcases : Array<Ael.test.TestCase>
- @version 0.3
実行リスト。
prototypeプロパティ
add
prototype add(string name, function fn, object option) : void
- @version 0.3
- @param {string} name テストケース名
- @param {function} fn テストケース関数
- @param {object} option オプション
引数からテストケースを生成して実行リストに追加する。
clear
prototype clear() : void
- @version 0.3
実行リストに持つ全てのテストケースを削除する。
reset
prototype reset() : void
- @version 0.3
実行リストに持つ全てのテストケースの状態を初期化する。
run
prototype run(object option) : void
- @version 0.3
- @param {object} option オプション
実行リストに登録されているテストケースを実行する。
オプション項目と初期値はAel.test#runメソッドを参照の事。