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

Timeline for How do I unit test the methods in a method object?

Current License: CC BY-SA 2.5

13 events
when toggle format what by license comment
Mar 24, 2022 at 19:26 answer added Nathaniel Ford timeline score: 0
Sep 28, 2010 at 14:37 answer added John Nicholas timeline score: 9
May 8, 2010 at 22:23 vote accept Community Bot moved from User.Id=334856 by developer User.Id=50049
May 7, 2010 at 22:47 answer added user334856 timeline score: 11
May 7, 2010 at 2:36 history edited user334856 CC BY-SA 2.5
maybe i shouldn't be testing
May 6, 2010 at 22:16 history edited user334856 CC BY-SA 2.5
explaining my question again
May 6, 2010 at 22:14 comment added ire_and_curses I've edited your question with the code you provided. Can you check the indentation is correct, and re-edit if necessary?
May 6, 2010 at 22:14 history edited ire_and_curses CC BY-SA 2.5
Copied in code from comment - this is just a guess at the intended indentation; added 8 characters in body
May 6, 2010 at 21:35 comment added msw Some code or pseudo-code would be helpful in understanding your question. From what you've written, it sounds like you may benefit from the unittest.TestCase.setUp() method. docs.python.org/library/unittest.html#unittest.TestCase.setUp
May 6, 2010 at 21:30 history edited msw CC BY-SA 2.5
added attribution (because I had to look it up :)
May 6, 2010 at 21:26 history edited user334856 CC BY-SA 2.5
added refactoring tag
May 6, 2010 at 21:15 history edited user334856 CC BY-SA 2.5
class -> object
May 6, 2010 at 21:10 history asked user334856 CC BY-SA 2.5

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