Skip to content

Nick Sutterer

Respecting local traditions since 1981.

Tag: API

Private Methods: To Test or Not To Test?

September 7, 2011 Posted in Uncategorized20 Comments

{{{ Recently I sat in a job interview, we were TDDing a data structure. That was fun, but it turned out that one big minus for me was that *I insisted on testing a private method*. I still believe that when writing a class that’s reused in multiple places (maybe as a gem) you have… Continue reading Private Methods: To Test or Not To Test?

APIrubytesting
  • Facebook
  • Twitter

Search

Blog at WordPress.com. Nick Sutterer
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
  • Follow Following
    • Nick Sutterer
    • Already have a WordPress.com account? Log in now.
    • Nick Sutterer
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar