2月 2012
3件の投稿
2タグ
JsTestDriverのAsyncTestCase
この内容はJsTestDriver WikiのAsyncTestCaseを意訳したものではありません。 http://code.google.com/p/js-test-driver/wiki/AsyncTestCase TestCaseはAsyncTestCaseの同期実行版なので基本的にAsyncTestCaseを使いましょう。 (TestCaseをAsyncTestCaseに置き換えるだけでそのまま実行できます) assert関係はこちらからどうぞ Assertions http://code.google.com/p/js-test-driver/wiki/Assertions 以下の二つはTestCaseと互換の基本的な実行方法です。 オブジェクトリテラルを渡す方法     AsyncTestCase(‘testCaseName’, {        ...
2月 4
3リアクション
2タグ
JsTestDriverのコマンドラインオプション
この内容はJsTestDriver WikiのCommandLineFlagsを意訳したものです。 http://code.google.com/p/js-test-driver/wiki/CommandLineFlags $ java -jar JsTestDriver.jar —help  —browser VAR             : The path to the browser executable  —browserTimeout VAR      : The ms before a browser is declared dead.  —captureAddress VAL      : The address to capture the browser....
2月 1
5リアクション
2タグ
JsTestDriverの設定ファイル書式
この内容はJsTestDriver WikiのConfigurationFileを意訳したものです。 http://code.google.com/p/js-test-driver/wiki/ConfigurationFile JsTestDriverの設定ファイルはYAMLで書きます。 設定ファイルはテストで使用するファイルをJsTestDriverが読み込むために使用され、標準はJsTestDriverコマンドを実行したカレントディレクトリの「jsTestDriver.conf」を参照します。 この参照先はコマンドラインオプションの「—config」から変更することができます。...
2月 1
3リアクション