search for: mockeveryth

Displaying 1 result from an estimated 1 matches for "mockeveryth".

2008 Mar 18
11
"Why not MockEverthing" or why use fixtures for all tests?
...include comments like "Stop mocking around" and "More fixes due to our test mockery". When challenged on why he''s re-writing these tests instead of writing new, missing tests (even tests using fixtures) he replied with this e- mail with the subject "Why not MockEverything". (Note that I *do* use fixtures for model tests but follow the RSpec documentation and use mocks/stubs for controller and view tests for isolation.) In the email this developer mentions tests broken by the addition of conditional to the view. This conditional used a model method...