Hacker News new | past | comments | ask | show | jobs | submit login

Most people call that patch mocking.

But it's good to have a name for shunt because otherwise people mistakenly think using a pure mock is a good idea. (It isn't. Use a fake instead -- real code but with a fast in-memory data store instead of a real database server)




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: