Python Unit Testing with pytest

pytestPytest is a unit testing framework for python that offers significantly more than the standard unittest module and nose test runner. For example, it supports parameterizing tests, and coverage analysis.

 

To install it:

  1. If you haven’t already, install pip: sudo apt-get install python-pip
  2. Install pytest: sudo pip install pytest

 

Advertisements

About jimbelton

I'm a software developer, and a writer of both fiction and non-fiction, and I blog about movies, books, and philosophy. My interest in religious philosophy and the search for the truth inspires much of my writing.
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s