タグ

関連タグで絞り込む (0)

  • 関連タグはありません

タグの絞り込みを解除

JavaScriptとJAVASCRIPTとJsTestDriverに関するjustoneplanetのブックマーク (3)

  • Post by @0-9

    この内容はJsTestDriver WikiのConfigurationFileを意訳したものです。 http://code.google.com/p/js-test-driver/wiki/ConfigurationFile JsTestDriverの設定ファイルはYAMLで書きます。 設定ファイルはテストで使用するファイルをJsTestDriverが読み込むために使用され、標準はJsTestDriverコマンドを実行したカレントディレクトリの「jsTestDriver.conf」を参照します。 この参照先はコマンドラインオプションの「--config」から変更することができます。 各ファイルのベースパスはjsTestDriver.confと同じディレクトリとなりますが、コマンドラインオプションの「--basePath」から変更することができます。また、設定ファイル内のbasepathで

    Post by @0-9
  • Post by @0-9

    この内容は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. --captureConsole          : Capture the console (if pos

    Post by @0-9
  • Post by @0-9

    この内容は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', { 'setUp' : function () {},

    Post by @0-9
  • 1