• Home
  • Advanced Search
  • Directory of Libraries
  • About lib.ir
  • Contact Us
  • History

عنوان
Learning Python testing :

پدید آورنده
Daniel Arbuckle.

موضوع
Object-oriented programming (Computer science),Python (Computer program language),COMPUTERS-- Computer Literacy.,COMPUTERS-- Computer Science.,COMPUTERS-- Data Processing.,COMPUTERS-- Hardware-- General.,COMPUTERS-- Information Technology.,COMPUTERS-- Machine Theory.,COMPUTERS-- Reference.,Object-oriented programming (Computer science),Python (Computer program language)

رده
QA76
.
73
.
P98

کتابخانه
Center and Library of Islamic Studies in European Languages

محل استقرار
استان: Qom ـ شهر: Qom

Center and Library of Islamic Studies in European Languages

تماس با کتابخانه : 32910706-025

INTERNATIONAL STANDARD BOOK NUMBER

(Number (ISBN
1783553219
(Number (ISBN
1783553227
(Number (ISBN
9781783553211
(Number (ISBN
9781783553228
Erroneous ISBN
9781783553211

TITLE AND STATEMENT OF RESPONSIBILITY

Title Proper
Learning Python testing :
General Material Designation
[Book]
Other Title Information
a straightforward and easy approach to testing your Python projects /
First Statement of Responsibility
Daniel Arbuckle.

EDITION STATEMENT

Edition Statement
Second edition.

.PUBLICATION, DISTRIBUTION, ETC

Place of Publication, Distribution, etc.
Birmingham, UK :
Name of Publisher, Distributor, etc.
Packt Publishing,
Date of Publication, Distribution, etc.
2014.

PHYSICAL DESCRIPTION

Specific Material Designation and Extent of Item
1 online resource (1 volume) :
Other Physical Details
illustrations

SERIES

Series Title
Community experience distilled

GENERAL NOTES

Text of Note
Includes index.

CONTENTS NOTE

Text of Note
Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Python and Testing; Testing for fun and profit; Levels of testing; Unit testing; Integration testing; System testing; Acceptance testing; Regression testing; Test-driven development; You'll need Python; Summary; Chapter 2: Working with doctest; Where doctest performs best; The doctest language; Example -- creating and running a simple doctest; Result -- three times three does not equal ten; The syntax of doctests; Example -- a more complex test; Result -- five tests run?
Text of Note
Example -- a doctest in a docstringResult -- the code is now self-documenting and self-testable; Putting it into practice -- an AVL tree; English specification; Node data; Testing the constructor; Recalculating height; Making a node deletable; Rotation; Locating a node; The rest of the specification; Summary; Chapter 3: Unit Testing with doctest; What is unit testing?; The limitations of unit testing; Example -- identifying units; Choosing units; Check your understanding; Unit testing during the development process; Design; Development; Feedback; Development, again; Later stages of the process.
Text of Note
Expecting exceptionsExample -- checking for an exception; Result -- success at failing; Expecting blank lines; Controlling doctest behavior with directives; Ignoring part of the result; Example -- ellipsis test drive; Result -- ellipsis elides; Ignoring white space; Example -- invoking normality; Result -- white space matches any other white space; Skipping an example; Example -- humans only; Result -- it looks like a test, but it's not; The other directives; The execution scope of doctest tests; Check your understanding; Exercise -- English to doctest; Embedding doctests into docstrings.
Text of Note
The basicsAssertions; The assertTrue method; The assertFalse method; The assertEqual method; The assertNotEqual method; The assertAlmostEqual method; The assertNotAlmostEqual method; The assertIs and assertIsNot methods; The assertIsNone and assertIsNotNone methods; The assertIn and assertNotIn methods; The assertIsInstance and assertNotIsInstance methods; The assertRaises method; The fail method; Make sure you get it; Test fixtures; Example -- testing database-backed units; Summary; Chapter 6: Running Your Tests with Nose; Installing Nose; Organizing tests; An example of organizing tests.
0
8
8
8

SUMMARY OR ABSTRACT

Text of Note
Chapter 4: Decoupling Units with unittest.mock; Mock objects in general; Mock objects according to unittest.mock; Standard mock objects; Non-mock attributes; Non-mock return values and raising exceptions; Mocking class or function details; Mocking function or method side effects; Mocking containers and objects with a special behavior; Mock objects for properties and descriptors; Mocking file objects; Replacing real code with mock objects; Mock objects in action; Better PID tests; Patching time.time; Decoupling from the constructor; Summary; Chapter 5: Structured Testing with unittest.
Text of Note
This book is ideal if you want to learn about the testing disciplines and automated testing tools from a hands-on, conversational guide. You should already know Python and be comfortable with Python 3.

ACQUISITION INFORMATION NOTE

Source for Acquisition/Subscription Address
Safari Books Online
Stock Number
CL0500000520

OTHER EDITION IN ANOTHER MEDIUM

Title
Learning Python Testing.
International Standard Book Number
9781783553211

TOPICAL NAME USED AS SUBJECT

Object-oriented programming (Computer science)
Python (Computer program language)
COMPUTERS-- Computer Literacy.
COMPUTERS-- Computer Science.
COMPUTERS-- Data Processing.
COMPUTERS-- Hardware-- General.
COMPUTERS-- Information Technology.
COMPUTERS-- Machine Theory.
COMPUTERS-- Reference.
Object-oriented programming (Computer science)
Python (Computer program language)

(SUBJECT CATEGORY (Provisional

COM-- 013000
COM-- 014000
COM-- 018000
COM-- 032000
COM-- 037000
COM-- 052000
COM-- 067000

DEWEY DECIMAL CLASSIFICATION

Number
004
.
6186

LIBRARY OF CONGRESS CLASSIFICATION

Class number
QA76
.
73
.
P98

PERSONAL NAME - PRIMARY RESPONSIBILITY

Arbuckle, Daniel

ORIGINATING SOURCE

Date of Transaction
20200823053923.0
Cataloguing Rules (Descriptive Conventions))
pn

ELECTRONIC LOCATION AND ACCESS

Electronic name
 مطالعه متن کتاب 

[Book]

Y

Proposal/Bug Report

Warning! Enter The Information Carefully
Send Cancel
This website is managed by Dar Al-Hadith Scientific-Cultural Institute and Computer Research Center of Islamic Sciences (also known as Noor)
Libraries are responsible for the validity of information, and the spiritual rights of information are reserved for them
Best Searcher - The 5th Digital Media Festival