NI-Lab.

nilog:

← 前の日 2019-05-07 次の日 →
← 一年前 一年後 →
Hatena::Bookmark (2019-05-07)
Stubs provide canned answers to calls made during the test, usually not responding at all to anything outside what's programmed in for the test. / Mocks are what we are talking about here: objects pre-programmed with expectations which form a specification of the calls they are expected to receive.

Mocks Aren't Stubs
[B!] 2019-05-07 19:58:13
関連するかも情報
「Gerard Meszarosの本で定義」「Stubs: スタブは、テスト中の呼び出しに決まった応答(canned answer)を返す」「Mocks: モックは(中略)呼び出しと、期待される応答の仕様に基づいて、先行実装された(pre-programmed)オブジェクト」

Mocks Aren’t Stubs をよむ - kawaguti’s diary
[B!] 2019-05-07 19:56:16
Stubs provide canned answers to calls made during the test, usually not responding at all to anything outside what's programmed in for the test. / Mocks are what we are talking about here: objects pre-programmed with expectations which form a specification of the calls they are expected to receive.

Mocks Aren't Stubs
[B!] 2019-05-07 19:58:13
「逆に上位モジュールの代わりに用いる代用品をドライバ(ソフトウェアの場合)またはコントローラ(ハードウェアの場合)と呼ぶ」

スタブ - Wikipedia
[B!] 2019-05-07 19:58:51
2019年05年07日のnilogをすべて表示する

- NI-Lab.
- Mastodon (@nilab@mastodon-japan.net)
- Twitter (@nilab)
- Timelog (@nilab)
- はてなブックマーク (id:nilab)

Web Services by Yahoo! JAPAN