質問編集履歴
1
あ
test
CHANGED
File without changes
|
test
CHANGED
@@ -25,3 +25,13 @@
|
|
25
25
|
>
|
26
26
|
|
27
27
|
> Such a dependency renders the component impure, makes testing the component more difficult, and makes reusing and refactoring the component unnecessarily difficult.
|
28
|
+
|
29
|
+
|
30
|
+
|
31
|
+
---
|
32
|
+
|
33
|
+
> Such a dependency renders the component impure, makes testing the component more difficult,
|
34
|
+
|
35
|
+
|
36
|
+
|
37
|
+
テストがしづらくなるというのはモックのインスタンス作らないといけなくなったりしてわかりますが、外部への依存性がコンポーネントをimpureにするってのは何故なのでしょう?
|