Chai is a BDD / TDD assertion library for node and the browser that can be delightfully paired with any javascript testing framework.
Chai is a BDD / TDD assertion library for node and the browser that can be delightfully paired with any javascript testing framework.
Asynchronous behaviour driven development for Node. 非同期にテストしたい理由は二つある。 一つめは、自明な理由だが、node.jsが非同期だから、その上で走るテストも非同期であるべきだ。 二つめは、I/Oを並列化することによって、高速に動作するテストを作るためだ。 vowを書いて、実行しよう: $ vows test/* --spec テストレポートで、思ったとおりに動いていることを確かめよう。 A non-promise return value ✓ should be converted to a promise A topic not emitting an error ✓ should pass null if the test is expecting an error ✓ should pass the result othe
speed/validity selectors test for frameworks. Every framework runs in his own iFrame, thus no conflicts can happen. Tests are run selector by selector, with an interval to prevent the browser from freeezing. Tests are run in a neutral environment, no library or framework is included in the main javascript test, to avoid favoritism. Tests are run against a local copy of this document. beta' src='s
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く