The use of FakeWeb to stub external SOA requests in testing is an example of which design pattern?
A. Null object
B. Proxy
C. Adapter
D. Facade
Suppose you discover that your most recent release contains a bug whose regression test will require extensive mocking or stubbing because the buggy code is convoluted. Which action, if any, is NOT appropriate?
A. Do the refactoring using TDD on the release branch, and push the bug fix as new code with tests
B. Do the refactoring using TDD on a different branch, push the bug fix as new code with tests, then cherry-pick the fix into release
Create a regression test with the necessary mocks and stubs, painful though it may be, and push the bugfix and tests to release branch
Depending on project priorities and project management, any of the above might be appropriate