完全にノープランでしたが、唐突にカヤックの社内勉強会に参加してきて、今色々触っているJavaScriptのテストフレームワークのBuster.JSについて発表してきました。(部外者です…) JavaScript Testing FrameworkのBusterJSを使う スライド : JavaScript Testing FrameworkのBusterJSを使う 今JavaScriptのテストフレームワークは色々ありますが、Buster.JSはJsTestDriverと似た仕組みを持ったテストフレームワークです。 Nodeで書かれてる所が大きく違いますが、細かい仕組み等はBuster.JS Architecture overviewという文章が公開されているのでそこを見るのがいいです。 中心となってる作者の一人はSinon.JS、Test-Driven JavaScript Develo
The document presents a comprehensive overview of building and testing a Todo List application using Ruby on Rails, including models, controllers, and views. It covers validation and response handling for JSON and HTML formats, as well as testing strategies using RSpec and Jasmine for JavaScript components. Additionally, it addresses AJAX requests and implementation of mock responses for testing p
February 28, 2012 This article will be appearing in my forthcoming book on Backbone.js and continues the section on unit testing. We previously looked at Jasmine and will now look at QUnit and SinonJS. QUnit is a powerful JavaScript test suite written by jQuery team member Jörn Zaefferer and used by many large open-source projects (such as jQuery and Backbone.js) to test their code. It’s both capa
Date#strftime var date = new Date(2011, 5, 29); date.strftime("%Y-%m-%d"); "2011-06-29" Problems ahead var date = new Date(2009, 11, 5); date.strftime("%Y"); //=> "2009" date.strftime("%m"); //=> "12" date.strftime("%d"); //=> "05" date.strftime("%y"); //=> "9" Test setup <!DOCTYPE html> <html> <head> <title>Date.prototype.strftime test</title> </head> <body> <script type="text/javascript" src="st
Jake Luer is a Node developer and consultant focused on helping to shape the next-generation of mobile and web applications. He is logicalparadox on GitHub and @jakeluer on Twitter. Chai (GitHub: logicalparadox / chai, npm: chai, License: MIT) is a BDD / TDD assertion library for Node and the browser that can be delightfully paired with any JavaScript testing framework. Chai aims to be an expressi
Feb 23, 201214 likes3,143 viewsAI-enhanced description The document discusses the Sapporo.js community, focusing on JavaScript testing methodologies and tools such as Mocha, Expect.js, and Zombie. It provides links to resources for unit and acceptance testing in JavaScript environments. Additionally, it emphasizes the importance of a testable programming approach within the community.
2004 01 02 03 04 05 06 07 08 09 2004年9月:1エントリ 10 2004年10月:1エントリ 11 2004年11月:1エントリ 12 2004年12月:1エントリ 2005 01 02 03 04 2005年4月:13エントリ 05 2005年5月:18エントリ 06 2005年6月:28エントリ 07 2005年7月:42エントリ 08 2005年8月:39エントリ 09 2005年9月:41エントリ 10 2005年10月:22エントリ 11 2005年11月:20エントリ 12 2005年12月:35エントリ 2006 01 2006年1月:12エントリ 02 2006年2月:6エントリ 03 2006年3月:10エントリ 04 2006年4月:17エントリ 05 2006年5月:9エントリ 06 2006年6月:12エントリ 07 2006年7
My JavaScript book is out! Don't miss the opportunity to upgrade your beginner or average dev skills. After @szafranek hint and suggestion, wru landed almost at the end of this Wikipedia List of unit testing frameworks page. If you use this tweet size hand made imperfect script in the wikipedia page console: a=q="querySelectorAll",[].map.call(document[q](".mw-headline,.wikitable"),function(v,i){i%
Father, husband, engineering manager, programming language theory fan, and a little bit of a geek. he/him/his EnvJasmine 1.7 Released! Thanks to the support of the EnvJasmine community we have a great new update. This one is especially useful for those of you running EnvJasmine in Maven or Rake and are integrating into a CI server like Jenkins! Check out the latest repo at https://github.com/trevm
というか、この辺の用語がいつも混乱してとても困っていたのでいったん整理。今回のターゲットは何やら最近 JavaScript を含む Web アプリのテストでよく名前を聞く capybara-webkit からスタート。 間違ってたら突っ込んでください! 間違ってなかったら褒めてください! 名前capybara-webkitCapybara の driver. Capybara のテストを WebKit を通じて実行できる。WebKit と言えばみんな大好き、Google Chrome や Safari のエンジンですね。capybaraテスティングフレームワークに対して Web アプリのテストを書きやすくする語彙を提供してくれる( DSL や Driver で実装されている )。driver は default で rack_test で、JavaScript を含む場合は Seleniu
基本的には以下の内容のまとめです。 0-9, JsTestDriverを使うときの注意点 http://0-9.tumblr.com/post/15574052397/jstestdriver 0-9, 最近のJS系のツールを触ってみたまとめ http://0-9.tumblr.com/post/15398953814/javascript-tools ・JsTestDriverとは何か? 超簡単に言うとSelenium CoreのJS実装とQUnitを合わせたものです。 実際Selenium ver2はJsTestDriverが使ってるWebDriverと言うAPIを使っています。 (WebDriverがブラウザを外部から動かす共通仕様で、Selenium ver2とJsTestDriverはそれを使ってる状態) ・使った感想は? ブラウザ上で動作するJSの単体テスト環境としてはかなり快
本稿は、Sencha公式ドキュメントの Unit Testing with Jasmine の翻訳です。 I. 導入 このチュートリアルでは既存のExtアプリケーションを取り上げ、ユニットテストするJasmineアサーションライブラリを紹介します。 読者はJavaScript, Ext JS 4, MVCアーキテクチャ及びHTML, CSSの基本及びリソースの使い方について精通している人が対象です。 なぜテストするのか? アプリケーションをテストするには多くの理由があります。 テストはすべてのユースケースを手動で消し込んでゆくことなくアプリケーションの機能性を検証できます。 さらに、アプリケーションがリファクタリングやアップデートされる時に、 テストはそれらの変更がシステムに当たらしバグを呼び込まないように検証することが出来ます。 II. はじめに このチュートリアルではExtJSにバンド
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く