Index
A
- acceptance testing
- about / Introduction
- Agiledox
- URL / Introduction
- about / Introduction
- algorithms
- separating, from concurrency / Separating algorithms from concurrency, How it works...
- assertEquals / How it works...
- AssertionError / How it works...
- assertions
- assertEquals / How it works...
- assertTrue / How it works...
- assertFalse / How it works...
- assertRaises / How it works...
- audit logs / How it works...
- automated test
- writing / Something is better than nothing, How to do it...
- working / How it works...
- changes, discarding / Be willing to throw away an entire day of changes, How it works...
- steady growth / Instead of shooting for 100 percent coverage, try to have a steady growth
- automated testing
- about / Introduction
- automated tests
- writing, unittest used / How to do it...
- automated unittest test
- basic concepts / Asserting the basics
B
- basics, Pyccuracy test
- exploring / Getting ready, How to do it..., How it works...
- BDD
- about / Introduction
- test, making easy-to-read / Naming tests that sound like sentences and stories, How to do it..., How it works...
- doctest documents, testing / Testing separate doctest documents, Getting ready, How to do it..., How it works...
- testable story, writing with doctest / Writing a testable story with doctest, How to do it..., How it works...
- testable novel, writing with doctest / Writing a testable novel with doctest, How to do it..., How it works...
- testable story, writing with Voidspace Mock and noise / Writing a testable story with Voidspace Mock and nose, Getting ready
- testable story, writing with mockito and nose / Writing a testable story with mockito and nose, How to do it..., How it works...
- testable story, writing with Lettuce / Writing a testable story with Lettuce, How to do it...
- testable story, writing with Lettuce and Should DSL / Using Should DSL to write succinct assertions with Lettuce, How to do it..., How it works...
- project-level script, updating / Updating the project-level script to run this chapter's BDD tests, How to do it..., How it works...
- BddDocTestRunner / There's more...
- BitKeeper / Do I have to use git for source code management?
- bug
- capturing, in automated test / Capturing a bug in an automated test, How it works..., Don't give in to the temptation to skip testing
- bugs / Where are the bugs?
- build servers / There's more...
C
- CartWithTwoItems / How it works...
- Chaos Monkey / How to do it...
- checkout_edge function / How it works...
- CI report, for Jenkins
- generating, NoseXUnit used / Generating a continuous integration report for Jenkins using NoseXUnit, How to do it..., How it works...
- CI report, for TeamCity
- generating, teamcity-nose used / Generating a CI report for TeamCity using teamcity-nose, Getting ready, How to do it..., How it works...
- class under test / How to do it...
- CloudBees
- URL / Jenkins versus TeamCity
- about / Jenkins versus TeamCity
- Cobertura format
- code coverage
- about / Introduction
- cohesiveness / There's more...
- combo_test1 test method / Where are the bugs?
- command-line nosetests tool
- using / How it works...
- concurrency
- continuous integration (CI)
- about / Introduction
- Jenkins / Introduction
- TeamCity / Introduction
- convert_to_roman function / How it works...
- corner cases
- testing / Testing the edges, How to do it..., How it works...
- testing, by iteration / Testing corner cases by iteration, How to do it..., How it works..., Testing corner cases by iteration, How to do it..., How it works...
- coupling / There's more...
- coverage
- about / Introduction
- coverage analysis
- about / Introduction
- coverage analyzer
- about / Introduction
- coverage nose plugin
- installing / Getting nosy with coverage
- working / How it works...
- features / Why use the nose plugin instead of the coverage tool directly?
- sqlite3 / Why are sqlite3 and springpython included?
- coverage tool
- installing / Introduction, Installing and running coverage on your test suite, How to do it...
- running / How to do it...
- working / How to do it...
- cron jobs / How to do it...
- Cucumber
D
- data-driven test suite
- creating, with Robot / Creating a data-driven test suite with Robot, How to do it...
- DataAccess class / How to do it...
- DatabaseTemplate / How to do it...
- data simulator, smoke tests
- coding / Coding a data simulator, How to do it...
- datetime.now() / How it works...
- docstrings
- about / Introduction
- using / Documenting the basics, How to do it...
- doctest.DocTestRunner / How to do it...
- doctest.testmod() statements / Running doctests from the command line
- doctest documents
- doctest module
- about / How it works..., There's more...
- doctest runner / How to do it...
- DocTestRunner / There's more...
- doctests
- running, from command line / Running doctests from the command line, How to do it..., How it works...
- documentation
- docutils
E
- e-store web application
- creating / Introduction
- easy_install / Getting ready
- edges
- testing / Testing the edges, How to do it..., How it works...
- end-to-end scenarios, smoke tests
- targeting / Targeting end-to-end scenarios, How to do it..., How it works...
- Erlang
- building / How to do it...
F
- fail method / self.fail([msg]) can usually be rewritten with assertions
- figleaf
- installing / Getting ready
- FunctionTestCase / How to do it..., How it works..., FunctionTestCase is a temporary measure
- Fusil
- fuzz testing
G
- getopt / Can we only use getoptgetopt?
- getopt() function / How it works..., How it works...
- getopt library
- about / How it works..., How to do it...
- URL / How it works...
- key function / How it works...
- publish function / How it works...
- register function / How it works...
- create_pydocs function / How it works...
- Get Source
- about / How to do it...
- GitHub / Do I have to use git for source code management?
H
- HTML coverage report
- generating / How to do it…
- HTML report
- generating, coverage tool used / Generating an HTML report using coverage, How it works...
I
- integration tests
- excluding, from smoke tests / Leaving out integration tests, How to do it..., How it works...
- IntelliJ IDE
- about / Introduction
J
- Jenkins
- configuring, to run Python tests upon commit / Configuring Jenkins to run Python tests upon commit, Getting ready, How to do it...
- downloading / Getting ready
- running / Getting ready
- working / How it works...
- polling format / What is the format of polling?
- configuring, to run Python tests when scheduled / Configuring Jenkins to run Python tests when scheduled, Getting ready, There's more...
- versus, TeamCity / Jenkins versus TeamCity
- configuring, for building coverage report / Letting Jenkins get nosy with coverage, Getting ready, How to do it...
- Jenkins
- URL / Introduction
- about / Introduction
- Jenkins Cobertura plugin / How it works...
- Jester / Are there any tools to help with this?
- JUnit
K
- Kamaelia / How to do it...
- keyword approach / Installing the Robot Framework
- keywords
L
- Lettuce
- live data
- recording / Recording and playing back live data in real time, How to do it..., How it works..., Recording and playing back live data as fast as possible, How to do it..., How it works...
- playing, in real time / Recording and playing back live data in real time, How to do it..., How it works...
- playing, as fast as possible / Recording and playing back live data as fast as possible, How to do it..., How it works...
- load testing
- about / Introduction
- loadTestsFromTestCase / How it works...
- loadTestsFromTestCase method / There's more...
M
- management demo, smoke tests
- automating / Automating your management demo, How to do it..., How it works...
- mercurial / Introduction
- metrics
- capturing / Harvesting metrics, How to do it...
- mockito
- URL / Writing a testable story with mockito and nose
- installing / Getting ready
- mutation testing / Are there any tools to help with this?
- MySQL database system / Targeting the test server
N
- Nester / Are there any tools to help with this?
- Netflix / How to do it...
- network events / Building a network management application
- network management application
- building / Introduction, Building a network management application, How to do it...
- store_event algorithm, implementing / How to do it...
- working / How it works...
- non-web shopping cart application
- creating / Introduction
- nose
- about / Introduction
- features / Introduction, Nose is extensible
- reference link / Introduction
- installing / Introduction
- test cases, running / How to do it..., How it works...
- test cases, finding automatically / How to do it..., How it works...
- extensible, feature / Nose is extensible
- embeddable, feature / Nose is embeddable
- embedding, in Python / Embedding nose inside Python, How to do it..., How it works..., There's more
- run() method / How to do it...
- running, with doctest / Getting nosy with doctest, Getting ready, How to do it..., How it works...
- nose.run() / There's more
- nose extension
- writing, for selecting test methods / Writing a nose extension to pick tests based on regular expressions, How to do it..., How it works...
- writing, for generating CSV report / Writing a nose extension to generate a CSV report, How to do it..., How it works...
- nose testing / There's more...
- nosetests / How it works...
- NoseXUnit
O
- obscure tests
- breaking down, into simple tests / Breaking down obscure tests into simple ones, How to do it...
- working / How it works...
- bugs / Where is the bug?
- optparse
- optparse module / There's more...
P
- performance analysis / There's more...
- Pester / Are there any tools to help with this?
- Pinocchio project
- Plugin.options / How it works...
- project-level script
- writing / Writing a project-level script that lets you run different test suites, How to do it..., How it works...
- updating, to run doctest / Updating the project-level script to run this chapter's doctests, How to do it..., How it works...
- updating, to run BDD tests / Updating the project-level script to run this chapter's BDD tests, How to do it..., How it works...
- creating, to run acceptance tests / Creating a project-level script to verify this chapter's acceptance tests, How to do it..., How it works..., There's more...
- updating, to provide coverage reports / Updating the project-level script to provide coverage reports, How to do it..., How it works...
- Pyccuracy
- about / Installing Pyccuracy
- installing / How to do it...
- working / How it works..., How it works...
- basics, exploring / Testing the basics with Pyccuracy, How to do it...
- shopping cart application, driving / Getting ready
- used, for verifying web app security / Using Pyccuracy to verify web app security, How to do it..., How it works...
- PyCharm IDE
- about / Introduction
- Pyro
- URL / Introduction
- about / Introduction
- installing / Introduction
- Python
- nose, embedding / Embedding nose inside Python, How to do it..., How it works..., There's more
- nose extension, writing for selecting test methods / Writing a nose extension to pick tests based on regular expressions, How to do it..., How it works...
- nose extension, writing for generating CSV report / Writing a nose extension to generate a CSV report, How to do it..., How it works...
- project-level script, writing / Writing a project-level script that lets you run different test suites, How to do it..., How it works...
- getopt library / How it works..., How to do it...
- docstrings / Introduction
- basics, documenting / Documenting the basics, How to do it...
- stack traces, capturing / Catching stack traces, How to do it..., How it works...
- doctests, running from command line / Running doctests from the command line, How to do it..., How it works...
- test harness, coding for doctest / Coding a test harness for doctest, How to do it..., How it works...
- test noise, filtering out / Filtering out test noise, How to do it..., How it works...
- reports, printing / Printing out all your documentation including a status report, How to do it..., How it works...
- documentation, printing / Printing out all your documentation including a status report, How to do it..., How it works...
- edges, testing / Testing the edges, How to do it..., How it works...
- corner cases, testing by iteration / Testing corner cases by iteration, How to do it..., How it works...
- nose, running with doctest / Getting nosy with doctest, How to do it..., How it works...
- project-level script, updating / Updating the project-level script to run this chapter's doctests, How to do it..., How it works...
- Python import statements
- pulse.py / How it works...
- checkin.py / How it works...
- integration.py / How it works...
- security.py / How it works...
- all.py / How it works...
- Python MySQLdb library
- installing / Introduction
- PyUnit
- about / Introduction
R
- real time playback / What is the difference between this and playing back in real time?
- recipe1.py / How to do it...
- recipe26_plugin.py / How to do it...
- Remote Procedure Call (RPC) library
- about / Introduction
- reports
- report_failure function / How to do it...
- report_start function / How to do it...
- ReSharper
- about / Introduction
- reStructuredText
- Robot Framework
- about / Installing the Robot Framework
- installing / How to do it..., There's more...
- used, for creating data-driven test suite / Creating a data-driven test suite with Robot, How to do it...
- working / How it works...
- keywords, mapping / There's more...
- HTML tables, writing / Do I have to write HTML tables?
- code, writing / What are the best ways to write the code that implements our custom keywords?
- unicode strings, using / Robot Framework variables are unicode
- testable story, writing / Writing a testable story with Robot, How to do it..., How it works...
- web testing / Testing web basics with Robot, How to do it..., How it works...
- used, for verifying web app security / Using Robot to verify web app security, How to do it..., How it works...
- Robot tests
- run() method, nose / How to do it...
S
- scalable applications
- building / How to do it...
- SeleniumLibrary / How to do it...
- Selenium plugin / How it works...
- self.fail([msg]) / self.fail([msg]) can usually be rewritten with assertions
- setUp method / How to do it..., How to do it..., How it works...
- severity 5 event / How to do it...
- ShoppingCart class / How to do it...
- Should DSL
- URL / Using Should DSL to write succinct assertions with Lettuce
- installing / Getting ready
- alternatives / How it works...
- smoke testing
- about / Introduction
- smoke tests
- about / Introduction
- subset of test cases, defining / Defining a subset of test cases using import statements, How to do it...
- integration tests, excluding / Leaving out integration tests, How to do it..., How it works...
- end-to-end scenarios, targeting / Targeting end-to-end scenarios, How to do it..., How it works...
- test server, targeting / Targeting the test server, Getting ready, How to do it...
- data simulator, coding / Coding a data simulator, How to do it...
- management demo, automating / Automating your management demo, How to do it..., How it works...
- spec nose plugin
- Spring Python
- about / Introduction
- Aspect Oriented Programming features / There's more...
- Spring Python
- URL / Introduction
- SpringSource Tool Suite
- URL / How to do it..., How it works...
- SQLite / Targeting the test server
- limitations / Why MySQL instead of SQLite?
- sqlite3
- stack traces
- capturing / Catching stack traces, How to do it..., How it works...
- store_cart function / How it works...
- store_event method / How to do it...
- stress testing
- about / Introduction
- subset, of test cases
- defining, import statements used / Defining a subset of test cases using import statements, How to do it..., How it works...
- subset, Robot tests
- subsets of tests
- succinct assertions
- writing, Should DSL used / How to do it...
T
- tagging
- TDD
- about / Introduction
- TeamCity
- URL / Introduction
- about / Introduction
- configuring, to run Python tests upon commit / Configuring TeamCity to run Python tests upon commit, How to do it..., There's more...
- configuring, to run Python tests when scheduled / Configuring TeamCity to run Python tests when scheduled, How to do it...
- teamcity-nose
- installing / Getting ready
- teamcity-nose plugin
- installing / How it works...
- tearDown method / How to do it...
- testable novel
- writing, with doctest / Writing a testable novel with doctest, How to do it..., How it works...
- testable story
- writing, with doctest / Writing a testable story with doctest, How to do it..., How it works..., There's more...
- writing, with Voidspace Mock and nose / Writing a testable story with Voidspace Mock and nose, Getting ready, How to do it..., How it works..., There's more...
- writing, with mockito and nose / Writing a testable story with mockito and nose, How to do it..., How it works...
- writing, with Lettuce / Writing a testable story with Lettuce, How to do it...
- writing, with Lettuce and Should DSL / Using Should DSL to write succinct assertions with Lettuce, How to do it..., How it works...
- writing, with Robot / Writing a testable story with Robot, How to do it..., How it works...
- test cases
- running, from command line / Running test cases from the command line with increased verbosity, How it works...
- about / How it works...
- chaining, into TestSuite / Chaining together a suite of tests, How to do it..., How it works...
- test code
- retooling / Retooling old test code to run inside unittest, How to do it...
- working / How it works...
- bugs / Where are the bugs?
- test fixtures
- working on / Be willing to invest in test fixtures, How it works...
- test harness
- setting up / Setting up and tearing down a test harness, How it works...
- tearing down / Setting up and tearing down a test harness, How it works...
- coding, for doctest / Coding a test harness for doctest, How to do it..., How it works...
- test iterator / How it works...
- TestLoader().loadTestsFromTestCase
- about / How it works...
- test module
- test suites, defining / Defining test suites inside the test module, How to do it...
- test noise
- filtering out / Filtering out test noise, How to do it..., How it works...
- filtering out, from coverage / Filtering out test noise from coverage, How to do it..., There's more...
- tests
- test selection / How it works...
- test server, smoke tests
- Test Setup
- about / How to do it...
- TestSuite
- TestSuite class
- about / How it works...
- test suites
- about / How it works...
- defining, in test module / Defining test suites inside the test module, How to do it...
- working / How it works...
- methods / Test suite methods must be outside of the test class
- optparse, replacing by argparse / optparse is being phased out and replaced by argparse
- TextTestRunner
- about / How it works...
- third-party tools
- Spring Python / Introduction
- tight coupling / There's more...
- time.sleep() method / How it works...
- tuple / How to do it...
- Twisted / How to do it...
U
- unittest
- about / Introduction
- recommendations, on selecting options / There's more..., Our version of Python can impact our options
- self.fail([msg]) / self.fail([msg]) can usually be rewritten with assertions
- test harness, tearing down / Setting up and tearing down a test harness, How it works...
- test harness, setting up / Setting up and tearing down a test harness, How it works...
- test cases, running / Running test cases from the command line with increased verbosity, How it works...
- subset of tests, running / Running a subset of test case methods, How to do it..., How it works...
- test cases, chaining into TestSuite / Chaining together a suite of tests, How to do it..., How it works...
- test suites, defining / Defining test suites inside the test module
- test code, retooling / Retooling old test code to run inside unittest, How to do it...
- obscure tests, breaking down into simple tests / Breaking down obscure tests into simple ones, How to do it...
- versus, integration tests / Unittests versus integration tests
- testing corner cases / Testing the edges, How to do it...
- corner cases, testing by iteration / Testing corner cases by iteration, How to do it..., How it works...
- unittest.main() / There's more..., There's more
- unittest.TestCase / How to do it...
- unittest module
- about / How it works...
- update_service method / How to do it...
V
- virtualenv
- installing / Introduction
- Voidspace Mock
- Voidspace Mock library / How it works...
W
- #when comment / There's more...
- wantMethod / How it works...
- waterfall model
- stages / Introduction
- web app security
- verifying, Pyccuracy used / Using Pyccuracy to verify web app security, How to do it..., How it works...
- verifying, Robot used / Using Robot to verify web app security, How to do it..., How it works...
- web basics
- testing, with Robot / Testing web basics with Robot, How to do it...
- web testing
- about / Testing web basics with Robot
X
- XML coverage report
- generating / Generating an XML report using coverage, How it works...
- XML report
- generating, coverage tool used / Generating an XML report using coverage, How it works...
- using / What use is an XML report?