MVCモデルでアプリを組もうとして、Viewへのデータをどう送ろうかと調べようとして、イベント駆動とMVCをキーワードに検索してたら、MVCよりいいよみたいな感じで PAC や PluggableMVC というのを見かけた。 (ちなみにMVCではObserverパターンを使うので、F…
The mock-object testing pattern has commonly been used to test an individual unit of code without testing its dependencies. While this pattern works well for interaction-based testing, it can be overkill for state-based testing. Learn how …
When you're unit testing, you often want to test an individual unit of code without testing its dependencies. One common solution to this problem is to utilize the mock-object testing pattern. Though the mock-objects pattern can lead to a …
Mock Objects モックオブジェクト The idea behind the mock object pattern is that you pass a phony object (the mock object) into a method that is being tested. The method must accept an abstract class or interface as its parameter, and the p…
Pseudo Objects 擬似オブジェクト Here's a scenario where mock objects may be a bit of overkill. Suppose you're going to test a method, and the path you're going to test shouldn't reference a particular object that is passed into the method …
Passing in Mocks and Pseudos モックと擬似オブジェクトでテストをパスする It's often difficult to test methods that are responsible for their own object creation. If a method is responsible for creating the objects that it uses, then the met…
下のページを翻訳したものです。 How to Make Your Speaking Easier and More Effective http://teaching.berkeley.edu/speaking.html (Home | University of California, Berkeley) 関連ページ http://netafull.net/archives/010283.htmlプレゼンにはkeynot…
質問の対処 はっきりと質問を求めたり促したりしよう 聞き手は、自分達が考えていることにあなたが本当に関心があるのだと分かるだろう あなたの振る舞いとコメントが質問する雰囲気を大いに決めるのだということに注意しよう 否定的な反応(例:"それについ…
信頼感とコミットメント*1 たとえ話が及んでないところでも、聞き手はとっつきやすく信頼できるコンセプトや知識、スキル、そしてアイディアを見つけ出すものだ。話し手を「まぁ退屈ではない」と聞き手が思えばだが [=話をきちんと聞いてくれていれば]。 先…
準備 あなたがカバーしたい全てのことを、話やスピーチにおいてカバーすることはおそらくできない 本質は何か、重要なことは何か、役立つことは何か(何が良さそうか)を決めよう 本質をカバーしよう。重要なことをカバーできるようにしよう。役立つことにつ…
http://d.hatena.ne.jp/devbankh/201101下のページを翻訳したものです。 How to Make Your Speaking Easier and More Effective http://teaching.berkeley.edu/speaking.html (Home | University of California, Berkeley) 関連ページ http://netafull.net/a…
コミュニケーションカテゴリ:How to Make Your Speaking Easier and More Effective「簡単かつ効果的に人前で話すために」の翻訳アップ終了 やり取りを築く 質問に対処する フィードバックを得る
「簡単かつ効果的に人前で話すために」の翻訳を追加 http://d.hatena.ne.jp/devbankh/201101
http://d.hatena.ne.jp/devbankh/20110110 How to Make Your Speaking Easier and More Effectiveを訳してみよう 会議のプレゼンや打ち合わせでのまとまった意見・提案でも使えそう XPのように毎日小ミーティングがあれば、小出しでも意見を理解してもらえそ…
モックとスタブの違い(4)スタイルによる違いをアップ http://d.hatena.ne.jp/devbankh/20100204 State-basedとInteraction-basedのテストの違い、優位な点とか、なんとなく掴んで頭に入れられた。
マーティン・ファウラー「モックとスタブの違い」(4)の翻訳をアップ http://d.hatena.ne.jp/devbankh/20100205
マーティン ファウラー「モックとスタブの違い 相互作用中心のテスト」の翻訳をアップ http://d.hatena.ne.jp/devbankh/20100206
「はてなダイアリーをWikiのように使う」計画変更点 翻訳のように複数ページになるコンテンツは、分類用のページ(*[カテゴリー]文法を使うページ)を月の1日目に作る 全てのページに分類を記述すると、同一カテゴリーページ一覧で全て表示される。それより…
アップ モックとスタブの違い 状態中心のテスト http://d.hatena.ne.jp/devbankh/20100208
モック、スタブ、擬似オブジェクトを使った効率的なユニットテスト4 をアップ
モック、スタブ、擬似オブジェクトを使った効率的なユニットテスト3 -擬似オブジェクト- をアップ
Unit Test More Efficiently with Mock Object Alternativesの翻訳をアップしはじめる。 これから、実装フェーズに入るのでモックを使ったテストを勉強しておこうかと モックとスタブは同じかと思ってたが、違うようなので
フリーのWikiが使いたい⇒はてなをWiki的に使えないか検討⇒いけそう 他のブロッグも試そうかと思ったが、はてなの文法がPukiWikiに似ているのでよしとする 身元確認もなくなったし 方法 メニューページを遠い日付の日記に設定 書くコンテンツはメニューページ…