Straight from the source, the definitive guide to incorporating svnmock into your testing strategy today.
Straight from the source, the definitive guide to incorporating svnmock into your testing strategy today.
Lesson 1 - learn the basics of telling svnmock what API calls you expect to be called, in what order and with what arguments.
Lesson 2 - want to make sure functionX is getting called with the return value from methodY? Learn how to specify the path objects will take through your code.
Lesson 3 - what happens when your code encounters a corrupted or wedged repository? Do you know? Find out how to test your code against the toughest environment you can dream up.
Lesson 4 - have a situation where you don't know exactly what order certain API functions will be called, say, when iterating over a dictionary? svnmock has just the tool for you.
Lesson 5 - putting it all together. Also in this section: tips, tricks and best practices for integrating svnmock into your test suite.
Lesson 6 - bonus section: want to make sure certain API calls are getting made without mocking up the whole session? svnmock.trace has your back.