最近やっと “How Google Tests Software” を一通り読み終わって、あまりに時間をかけすぎたのでまた頭から軽く読み直そうかなあと思っていたところ、Masaki Nakagawa さん経由 で日本語訳が出ていることを知った。 ただ、#rubykaigi バイヤーズガイド ‘13 の... 続きを読む
年に一度行われるアジャイル開発のイベント「Agile Japan」が今年も開催されました。今年の基調講演は、アジャイル開発の中で品質の重要性をあらためて位置づける目的で、James Gernning氏が「“Demand Technical Excellence”アジャイルにおける技術と品質の重... 続きを読む
JUnit実践入門という書籍で推奨されていた「テストメソッドは日本語でもOK」ということについて。 by shuji_w6e 続きを読む
December 1, 2012. Tags: coding craftsmanship javascript jstools web Have you written a book, a dissertation, or a report? If you prepare well, everything should be almost perfect until you need to submit it to the editor, the professor, or th... 続きを読む
『JUnit実践入門』写経・実践会 in 横浜 #6 (特別編) - connpass2013/05/12 『JUnit実践入門』写経・実践会 in 横浜 #6 (特別編) #junitbook - Togetter 前回まででこちらの書籍でのイベント開催は計5回を数えておりました。書籍の進みとしても終盤を迎えつつあ... 続きを読む
実行時に、依存オブジェクトを入れ替えられるようにするには、SUTをどう設計したらよいだろうか? 依存するオブジェクトを、他のオブジェクトから受け取って、使うようにしたらいいよ。 Also known as Service Locator, Object Factory, Component Broker, Comp... 続きを読む
The only thing your test runner needs to do is to produce TAP output on console.log or process.stdout. Here's an example project using mocha. You can also use tape to output TAP output in browsers and in node. Here is what a simple tape test ... 続きを読む
Mon, 29. April 2013 Testing hybrid project is just too difficult. It should be simple to write sources and tests without any boilerplate for Node.js and browsers, and run it headlessly on a build server. Running JavaScript directly in Phantom... 続きを読む
自動化きっかけは XP祭り関西2013 の @StoneGuitar777 さんのLTからです。LTスライド: XP祭り2013-LT-Codeer@ITの記事: 特集:受け入れ検査の自動化手法の考察:Windowsアプリの受け入れテストを自動化しよう (1/5) - @IT「継続的デリバリー」に貼付けた付箋を... 続きを読む
先日書いた自分用アプリケーションのひな形http://d.hatena.ne.jp/naoya/20130503/1367581629http://d.hatena.ne.jp/naoya/20130504/1367640512これに、JavaScript のテスト環境も追加したい。結論からいくと、フレームワークには mocha + expect、ランナーは t... 続きを読む
2013年4月27日、六本木ヒルズ森タワーのグーグルにて「第38回HTML5とか勉強会」が開催された。HTML5とか勉強会とは、HTML5に関心のあるエンジニアやWebデザイナ向けの勉強会だ。今回のテーマはJavaScriptのテストフレームワーク。別室のサテライト会場を用意し... 続きを読む
A next-generation code testing stack for JavaScript.We just released a new blog post introducing Intern. Check it out! Intern takes the stress out of testing your Web app. Run tests using the browser or node.js and seamlessly integrate with S... 続きを読む
Gerard Meszaros is working on a book to capture patterns for using the various Xunit frameworks. One of the awkward things he's run into is the various names for stubs, mocks, fakes, dummies, and other things that people use to stub out parts... 続きを読む
JsHamcrest – Library of matcher objects for JavaScript¶ JsHamcrest is a JavaScript library heavily inspired by Hamcrest. It provides a large library of matcher objects (also known as constraints or predicates) allowing “match” rules to be ... 続きを読む
Coveralls.io support for node.js. Get the great coverage reporting of coveralls.io and add a cool coverage button ( like this: ) to your README. Installation: Add the latest version of coveralls to your package.json. This script ( bin/coveral... 続きを読む
JavaScript Unit Test Why? What? How? Presentation Transcript JavaScript Unit TestWhy? What? How?佐藤鉄平@teppeis2013/04/26第38回HTML5とか勉強会 自己紹介•佐藤鉄平•@teppeis•サイボウズでkintoneっていうB2Bサービスを作っています。•フロントから... 続きを読む
第38回HTML5とか勉強会を以下の内容で実施します! ふるってのご応募をお待ちしております。 イベント概要 名称:第38回HTML5とか勉強会 テーマ:- 「Webアプリ×テスト最新事情」 - 概要:Webアプリの本格化・大規模化に伴い、テストの受容は高まるばかりです。... 続きを読む
2013-04-10 Nodeでプライベートな(exportsされてない)メソッドのテスト javascript Node test だいたいこの記事のまんまですが大雑把な訳記事だと思ってください。こんなファイル(app.js)があったとする。 //app.js exports.testableMethod = function () { com... 続きを読む
Writing reliable JavaScript code at scale is difficult. The language lacks built-in formal structures that enable reliable engineering practices. Fortunately establishing convention and selecting mature libraries goes a long way towards build... 続きを読む
レガシーコードとは、レガシーコード改善ガイドを参考にすると、テストのないコードを指しています。コードだけでなくレガシーなシステムも存在し、レガシーじゃないシステムよりレガシーシステムのほうが多いので、新しい要求への対応と、レガシーコードの改善... 続きを読む