Sunday, 8 September 2013

What is a sensible Python unit testing environment in Windows?

What is a sensible Python unit testing environment in Windows?

I develop Python libraries on a Mac, but I'd like to test them on Windows
as well to make sure everything works there.
I am a test-driven developer and maintain full unit test coverage as well
as application level acceptance/integration tests. I use pytest for unit
testing and behave for acceptance tests.
I only use Windows for very specific tasks like making appointments with
Outlook, but I do have a VMWare Fusion instance of Windows 7 running all
the time. I could run my tests under Windows without having to use a
different machine.
The trouble is, I'm not familiar with how folks typically run Python on
Windows anymore, but would like to use a fairly typical setup so I would
encounter similar problems to most Windows users before they install my
libraries.
Back in my pre-Mac days, I would run Python 2.3 or 2.4 under Cygwin. But
I'm not at all sure that was even typical then.
What kind of Python environment is a good one for testing Python code in a
Windows environment?

No comments:

Post a Comment