Coverart for item
The Resource Python unit test automation : practical techniques for Python developers and testers, Ashwin Pajankar

Python unit test automation : practical techniques for Python developers and testers, Ashwin Pajankar

Label
Python unit test automation : practical techniques for Python developers and testers
Title
Python unit test automation
Title remainder
practical techniques for Python developers and testers
Statement of responsibility
Ashwin Pajankar
Creator
Author
Subject
Language
eng
Summary
This book shows readers how to automate unit testing of Python 3 code by introducing various Python 3 automation libraries, such as doctest, unittest, nose, nose2, and pytest. It also explores the important concepts in software testing and their implementation in Python 3. Hands-on knowledge of the frameworks helps readers to automate, organize, and execute their unit tests for Python 3. Knowledge of the frameworks discussed in the book is often acquired by reading source code, manuals, and posting questions on community forums. This tends to be a slow and painful process. Python Unit Test Automation will allow readers to quickly ramp up their understanding of unit test libraries for Python 3 through the practical use of code examples and exercises. All of which makes this book a great resource for software developers and testers who want to get started with unit test automation in Python 3
Cataloging source
N$T
http://library.link/vocab/creatorName
Pajankar, Ashwin
Dewey number
005.13/3
Illustrations
illustrations
Index
index present
LC call number
QA76.73.P98
Literary form
non fiction
Nature of contents
dictionaries
http://library.link/vocab/subjectName
  • Python (Computer program language)
  • Computer programs
  • Computer software
  • COMPUTERS
  • COMPUTERS
  • Computer programs
  • Computer software
  • Python (Computer program language)
Label
Python unit test automation : practical techniques for Python developers and testers, Ashwin Pajankar
Instantiates
Publication
Distribution
Copyright
Note
Includes index
Antecedent source
unknown
Carrier category
online resource
Carrier category code
cr
Carrier MARC source
rdacarrier
Color
multicolored
Content category
text
Content type code
txt
Content type MARC source
rdacontent
Contents
  • At a Glance; Contents; About the Author; About the Technical Reviewers; Acknowledgments; Introduction; Chapter 1: Introduction to Python; The History of Python; Features of Python; Simple; Easy to Learn; Easy to Read; Easy to Maintain; Open Source; High-Level Language; Portable; Interpreted; Object-Oriented; Extensible; Extensive Libraries; Robust; Rapid Prototyping; Memory Management; Powerful; Community Support; Python 3; The Differences Between Python 2 and Python 3; Why Use Python 3; Installation of Python 3; Installation on Linux; Installation on Debian, Ubuntu, and Derivatives
  • Installation on Fedora and CentOSInstallation on MacOS X; Installation on Windows; Running a Python Program and Python Modes; Interactive Mode; Normal Mode; IDEs for Python; IDLE; The PyDev Plugin for Eclipse; Geany; PyCharm; Conclusion; Chapter 2: Getting Started; A Brief Introduction to Software Testing Concepts; Unit Testing; Test Automation; The Benefits of Automated Unit Testing; Using Docstrings; Example of a Docstring in Python; A Brief Introduction to doctest; Failing Tests; Separate Test File; Advantages and Disadvantages of doctest; Conclusion; Chapter 3: Unittest
  • Introduction to xUnitUsing Unittest; Order of Execution of the Test Methods; Verbosity Control; Multiple Test Classes Within the Same Test File/Module; Test Fixtures; Running Without unittest.main(); Controlling the Granularity of Test Execution; Listing All the Command-Line Options and Help; Important Command-Line Options; Creating a Test Package; Organizing the Code; Placing the Development and Test Code in a Single Directory; Placing the Development and Test Code in Separate Directories; Test Discovery; Coding Conventions for unittest; Assertions in unittest; Other Useful Methods
  • Failing a TestExceptions in the Test Case; assertRaises(); Conclusion; Chapter 4: nose and nose2; Introduction to nose; Installing nose on Linux OS; Installing nose on MacOS and Windows; Verifying the Installation; Getting Started with nose; A Simple nose Test Case; Running the Test Module with nosetests; Getting Help; Organizing the test code; Test Discovery; Fixtures for Classes, Modules, and Methods; Fixtures for Functions; Fixtures for Packages; Alternate Names of the nose Fixtures; assert_equals(); Testing Tools; ok_ and eq_; The @raises() Decorator; The @timed() decorator
  • Report GenerationCreating an XML Report; Creating an HTML Report; Creating Color Output in the Console; Running unittest Tests from nose; Advantages of nose over unittest; Disadvantages of nose; Using Nose 2; Conclusion; Chapter 5: pytest; Introduction to pytest; Simple Test; Running Tests with the py.test Command; Test Class and Test Package in pytest; Test Discovery in pytest; xUnit-Style Fixtures; pytest Support for unittest and nose; Introduction to pytest Fixtures; Scope of pytest Fixtures; pytest.raises(); Important pytest Command-Line Options; Help
Control code
973932830
Dimensions
unknown
Extent
1 online resource
File format
unknown
Form of item
online
Isbn
9781484226773
Level of compression
unknown
Media category
computer
Media MARC source
rdamedia
Media type code
c
Other control number
10.1007/978-1-4842-2677-3
Other physical details
illustrations
http://library.link/vocab/ext/overdrive/overdriveId
995665
Quality assurance targets
not applicable
Reformatting quality
unknown
Sound
unknown sound
Specific material designation
remote
System control number
(OCoLC)973932830
Label
Python unit test automation : practical techniques for Python developers and testers, Ashwin Pajankar
Publication
Distribution
Copyright
Note
Includes index
Antecedent source
unknown
Carrier category
online resource
Carrier category code
cr
Carrier MARC source
rdacarrier
Color
multicolored
Content category
text
Content type code
txt
Content type MARC source
rdacontent
Contents
  • At a Glance; Contents; About the Author; About the Technical Reviewers; Acknowledgments; Introduction; Chapter 1: Introduction to Python; The History of Python; Features of Python; Simple; Easy to Learn; Easy to Read; Easy to Maintain; Open Source; High-Level Language; Portable; Interpreted; Object-Oriented; Extensible; Extensive Libraries; Robust; Rapid Prototyping; Memory Management; Powerful; Community Support; Python 3; The Differences Between Python 2 and Python 3; Why Use Python 3; Installation of Python 3; Installation on Linux; Installation on Debian, Ubuntu, and Derivatives
  • Installation on Fedora and CentOSInstallation on MacOS X; Installation on Windows; Running a Python Program and Python Modes; Interactive Mode; Normal Mode; IDEs for Python; IDLE; The PyDev Plugin for Eclipse; Geany; PyCharm; Conclusion; Chapter 2: Getting Started; A Brief Introduction to Software Testing Concepts; Unit Testing; Test Automation; The Benefits of Automated Unit Testing; Using Docstrings; Example of a Docstring in Python; A Brief Introduction to doctest; Failing Tests; Separate Test File; Advantages and Disadvantages of doctest; Conclusion; Chapter 3: Unittest
  • Introduction to xUnitUsing Unittest; Order of Execution of the Test Methods; Verbosity Control; Multiple Test Classes Within the Same Test File/Module; Test Fixtures; Running Without unittest.main(); Controlling the Granularity of Test Execution; Listing All the Command-Line Options and Help; Important Command-Line Options; Creating a Test Package; Organizing the Code; Placing the Development and Test Code in a Single Directory; Placing the Development and Test Code in Separate Directories; Test Discovery; Coding Conventions for unittest; Assertions in unittest; Other Useful Methods
  • Failing a TestExceptions in the Test Case; assertRaises(); Conclusion; Chapter 4: nose and nose2; Introduction to nose; Installing nose on Linux OS; Installing nose on MacOS and Windows; Verifying the Installation; Getting Started with nose; A Simple nose Test Case; Running the Test Module with nosetests; Getting Help; Organizing the test code; Test Discovery; Fixtures for Classes, Modules, and Methods; Fixtures for Functions; Fixtures for Packages; Alternate Names of the nose Fixtures; assert_equals(); Testing Tools; ok_ and eq_; The @raises() Decorator; The @timed() decorator
  • Report GenerationCreating an XML Report; Creating an HTML Report; Creating Color Output in the Console; Running unittest Tests from nose; Advantages of nose over unittest; Disadvantages of nose; Using Nose 2; Conclusion; Chapter 5: pytest; Introduction to pytest; Simple Test; Running Tests with the py.test Command; Test Class and Test Package in pytest; Test Discovery in pytest; xUnit-Style Fixtures; pytest Support for unittest and nose; Introduction to pytest Fixtures; Scope of pytest Fixtures; pytest.raises(); Important pytest Command-Line Options; Help
Control code
973932830
Dimensions
unknown
Extent
1 online resource
File format
unknown
Form of item
online
Isbn
9781484226773
Level of compression
unknown
Media category
computer
Media MARC source
rdamedia
Media type code
c
Other control number
10.1007/978-1-4842-2677-3
Other physical details
illustrations
http://library.link/vocab/ext/overdrive/overdriveId
995665
Quality assurance targets
not applicable
Reformatting quality
unknown
Sound
unknown sound
Specific material designation
remote
System control number
(OCoLC)973932830

Library Locations

    • Ellis LibraryBorrow it
      1020 Lowry Street, Columbia, MO, 65201, US
      38.944491 -92.326012
    • Engineering Library & Technology CommonsBorrow it
      W2001 Lafferre Hall, Columbia, MO, 65211, US
      38.946102 -92.330125
Processing Feedback ...