Y
Hacker News
new
|
ask
|
show
|
jobs
by
YeGoblynQueenne
2772 days ago
The problem with TDD is that a dedicated developer can always make a test pass- the how is another matter.
1 comments
celvro
2771 days ago
when(mockObject.getVar()).thenReturn(1); assertEquals(1, mockObject.getVar());
test passes boss!
link
test passes boss!