views:

14

answers:

1

When doing quick scripts I like to use DocTests to make things a bit quicker, recently I saw someone using autospec at a recent DevCon I attended when they were introducing us to the concept of CodeKata.

I spent the train ride home looking for a Python equivalent of Autospec & found modipyd, but I'm struggling to get it to run my doctests.

Has anyone managed to get modipyd to run Doctests?

A: 

I've looked at the code and it would appear that modipyd cannot execute doctests.

For this little project I've quickly ported the tests to Python's default unittest method, but I am looking to add doctests to modipyd.

Stuart Grimshaw