logo
Product categories

EbookNice.com

Most ebook files are in PDF format, so you can easily read them using various software such as Foxit Reader or directly on the Google Chrome browser.
Some ebook files are released by publishers in other formats such as .awz, .mobi, .epub, .fb2, etc. You may need to install specific software to read these formats on mobile/PC, such as Calibre.

Please read the tutorial at this link.  https://ebooknice.com/page/post?id=faq


We offer FREE conversion to the popular formats you request; however, this may take some time. Therefore, right after payment, please email us, and we will try to provide the service as quickly as possible.


For some exceptional file formats or broken links (if any), please refrain from opening any disputes. Instead, email us first, and we will try to assist within a maximum of 6 hours.

EbookNice Team

(Ebook) Python Testing Beginner s Guide 1st Edition by Daniel Arbuckle ISBN 1847191789 9781847191786

  • SKU: EBN-1280602
Zoomable Image
$ 32 $ 40 (-20%)

Status:

Available

4.4

23 reviews
Instant download (eBook) Python Testing: Beginner's Guide after payment.
Authors:Daniel Arbuckle
Pages:256 pages.
Year:2010
Editon:1
Publisher:Packt Publishing
Language:english
File Size:4.09 MB
Format:pdf
ISBNS:9781847191786, 9781847198846, 1847191789, 1847198848
Categories: Ebooks

Product desciption

(Ebook) Python Testing Beginner s Guide 1st Edition by Daniel Arbuckle ISBN 1847191789 9781847191786

(Ebook) Python Testing Beginner s Guide 1st Edition by Daniel Arbuckle - Ebook PDF Instant Download/Delivery: 1847191789, 9781847191786
Full download (Ebook) Python Testing Beginner s Guide 1st Edition after payment

Product details:

ISBN 10: 1847191789 
ISBN 13: 9781847191786
Author: Daniel Arbuckle

The book begins with the very foundations of automated testing, and expands on them until the best-practice tools and techniques are fully covered. New concepts are illustrated with step-by-step hands-on exercises. Testing will be easier and more enjoyable with this beginner's guide. If you are a Python developer and want to write tests for your applications, this book will get you started and show you the easiest way to learn testing. You need to have sound Python programming knowledge to follow along. An awareness of software testing would be good, but no formal knowledge of testing is expected nor do you need to have any knowledge of the libraries discussed in the book.

(Ebook) Python Testing Beginner s Guide 1st Table of contents:

1. Testing for Fun and Profit
How can testing help?
Types of testing
Unit testing
Integration testing
System testing
You've got Python, right?
Summary
2. Doctest: The Easiest Testing Tool
Basic doctest
Time for action – creating and running your first doctest
What just happened?
The syntax of doctests
Time for action – writing a more complex test
What just happened?
Expecting exceptions
Time for action – expecting an exception
What just happened?
Expecting blank lines in the output
Using directives to control doctest
Ignoring part of the result
Time for action – using ellipsis in tests
What just happened?
Ignoring whitespace
Time for action – normalizing whitespace
Skipping an example entirely
Time for action – skipping tests
What just happened?
Other doctest directives
Execution scope
Pop quiz – doctest syntax
Have a go hero – from English to doctest
Embedding doctests in Python docstrings
Time for action – embedding a doctest in a docstring
What just happened?
Doctest directives
Execution scope
Putting it in practice: an AVL tree
English specification
Node data
Constructor
Recalculate height
Make deletable
Rotation
Locating a node
Testing the rest of the specification
Summary
3. Unit Testing with Doctest
What is Unit testing and what it is not?
Time for action – identifying units
What just happened?
Pop quiz – understanding units
Unit testing throughout the development process
Design phase
Time for action – unit testing during design
What just happened?
Pop quiz – unit testing during design
Have a go hero
Development phase
Time for action – unit testing during development
What just happened?
Feedback phase
Time for action – unit testing during feedback
What just happened?
Back to the development phase
Time for action – unit testing during development... again
What just happened?
Maintenance phase
Time for action – unit testing during maintenance
What just happened?
Reuse phase
Time for action – unit testing during reuse
What just happened?
Pop quiz – unit testing
Have a go hero – test-driven development
Summary
4. Breaking Tight Coupling by using Mock Objects
Installing Python Mocker
Time for action – installing Python Mocker
The idea of a mock object
Python Mocker
Time for action – exploring the basics of Mocker
What just happened?
Mocking functions
Mocking containers
Parameter matching
ANY
ARGS
KWARGS
IS
IN
CONTAINS
MATCH
Mocking complex expressions
Have a go hero
Returning iterators
Raising exceptions
Calling functions via a mock
Specifying that an expectation should occur multiple times
Replacing library objects with mocks
Pop quiz – Mocker usage
Have a go hero – mocking datetime
Mocking self
Time for action – passing a mock object as self
What just happened?
Summary
5. When Doctest isn't Enough: Unittest to the Rescue
Basic unittest
Time for action – testing PID with unittest
What just happened?
Assertions
assertTrue
assertFalse
assertEqual
assertNotEqual
assertAlmostEqual
assertNotAlmostEqual
assertRaises
fail
Pop quiz – basic unittest knowledge
Have a go hero – translating into unittest
Test fixtures
Time for action – testing database-backed units
What just happened?
Pop quiz – test fixtures
Have a go hero – file path abstraction
Integrating with Python Mocker
Summary
6. Running Your Tests: Follow Your Nose
What is Nose?
Installing Nose
Organizing tests
Time for action – organizing tests from previous chapters
What just happened?
Finding doctests
Customizing Nose's search
Pop quiz – testing with Nose
Have a go hero – nosing around
Nose and doctest
Time for action – creating a fixture for a doctest
Nose and unittest
Time for action – creating a module fixture
What just happened?
Time for action – creating a package fixture
What just happened?
Nose's own testing framework
Time for action – using Nose-specific tests
What just happened?
Summary
7. Developing a Test-Driven Project
Writing the specification
Time for action – what are you going to do?
What just happened?
Writing initial unit tests
Time for action – nailing down the specification with unit tests
What just happened?
Coding planner.data
Using the tests to get the code right
Fixing the code
Time for action – writing and debugging code
What just happened?
Writing persistence tests
Writing persistence code
Finishing up
Pop quiz – test-driven development
Have a go hero
Summary
8. Testing Web Application Frontends using Twill
Installing Twill
Exploring the Twill language
Time for action – browsing the web with Twill
What just happened?
Time for action – Twill scripting
What just happened?
Twill commands
help
setglobal
setlocal
add_auth
add_extra_header
clear_extra_headers
show_extra_headers
9. Integration Testing and System Testing
Integration tests and system tests
Time for action – figuring out the order of integration
What just happened?
Pop quiz – diagramming integration
Have a go hero – diagram your own program
Automation with doctest, unittest, and Nose
Time for action – writing integration tests for the time planner
What just happened?
Pop quiz – writing integration tests
Have a go hero – integrating your own program
Summary
10. Other Testing Tools and Techniques
Code coverage
coverage.py
Time for action – using coverage.py
What just happened?
Pop quiz – code coverage
Have a go hero – checking coverage in earlier chapters
Version control hooks
Bazaar
Time for action – installing Nose as a Bazaar post-commit hook
What just happened?
Mercurial
Time for action – installing Nose as a Mercurial post-commit hook
What just happened?
Git
Time for action – installing Nose as a Git post-commit hook
What just happened?
Darcs
Time for action – installing Nose as a Darcs post-record hook
What just happened?
Subversion
Time for action – installing Nose as a Subversion post-commit hook
What just happened?
Pop quiz – version control hooks
Automated continuous integration
Buildbot
Time for action – using Buildbot with Bazaar
What just happened?
Pop quiz – Buildbot
Have a go hero
Summary

People also search for (Ebook) Python Testing Beginner s Guide 1st:

beginners guide to python pdf
    
python beginner books free
    
free python book for beginners pdf
    
python testing book
    
python labs for beginners pdf
    
beginner python tests

 

 

Tags: Daniel Arbuckle, Python, Beginner

*Free conversion of into popular formats such as PDF, DOCX, DOC, AZW, EPUB, and MOBI after payment.

Related Products