© Ashwin Pajankar 2017
Ashwin PajankarPython Unit Test Automation 10.1007/978-1-4842-2677-3_4

4. nose and nose2

Ashwin Pajankar
(1)
Nashik, Maharashtra, India
 
The last chapter introduced xUnit and unittest. In this chapter, we will explore yet another unit testing API for Python, called nose . The tagline of nose is, nose extends unittest to make testing easier.
You can use nose’s API to write and run automated tests. You can also use nose to run tests written in other frameworks like unittest. This chapter will also explore the next actively developed and maintained iteration of nose, nose2 .

Introduction to nose

nose is not the part of Python’s standard library. You have to install it in order to use it. Let’s see how we can install it on Python ...

Get Python Unit Test Automation: Practical Techniques for Python Developers and Testers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.