Skip to main content
Stack Overflow
  1. About
  2. For Teams

Timeline for answer to How do I unit test the methods in a method object? by user334856

Current License: CC BY-SA 2.5

Post Revisions

5 events
when toggle format what by license comment
Mar 24, 2022 at 19:19 comment added Nathaniel Ford Strong disagree. There are plenty of reasons to hide methods as private that nevertheless hold significant functionality that is helpful to test independent of the public API. And Python does allow you to test protected/private methods - you just need to know about name mangling.
May 8, 2010 at 22:23 vote accept Community Bot moved from User.Id=334856 by developer User.Id=50049
May 8, 2010 at 21:43 history edited user334856 CC BY-SA 2.5
fixed grammar
May 8, 2010 at 18:54 comment added msw +1 for self answer and a pretty good one at that, if it isn't amenable to unit testing, perhaps it isn't a "unit".
May 7, 2010 at 22:47 history answered user334856 CC BY-SA 2.5

AltStyle によって変換されたページ (->オリジナル) /