diff options
author | Gustavo Niemeyer <gustavo@niemeyer.net> | 2007-11-13 22:05:27 -0200 |
---|---|---|
committer | Gustavo Niemeyer <gustavo@niemeyer.net> | 2007-11-13 22:05:27 -0200 |
commit | 90e0d73ee9238af7c80d9342a028d04028d4ae3a (patch) | |
tree | d0a7b3c9429d3f0081c510f770be612dc46f19fe /NEWS | |
parent | f480da7fc1637e64c1dcd0d564546157c3cbc7b1 (diff) | |
download | mocker-90e0d73ee9238af7c80d9342a028d04028d4ae3a.tar.gz |
Implemented state resetting on replay() for RunCounter and Orderer.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -2,8 +2,12 @@ ================ - Added MockerTestCase.makeFile() and .makeDir() helpers. They offer - easy creation of temporary files/directories with certainty of - removal after tests finish running. + easy creation of temporary files/directories, and ensure that they + get removed after each test method runs. + +- If the replay() method is called twice, expectations will be fully + reset so that several similar tests may be performed in a row by + just calling replay() again. - Mocker.on_restore() removed. Restore isn't performed if replay() isn't called, and that may not be obvious, so a hook won't be |