Django 1.1 testing and debugging :: building rigorously tested and bug-free Django applications /
Bugs are a time consuming burden during software development. Django's built-in test framework and debugging support help lessen this burden. This book will teach you quick and efficient techniques for using Django and Python tools to eradicate bugs and ensure your Django application works corr...
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Elektronisch E-Book |
Sprache: | English |
Veröffentlicht: |
Birmingham, U.K. :
Packt Pub.,
2010.
|
Schriftenreihe: | From technologies to solutions.
|
Schlagworte: | |
Online-Zugang: | Volltext |
Zusammenfassung: | Bugs are a time consuming burden during software development. Django's built-in test framework and debugging support help lessen this burden. This book will teach you quick and efficient techniques for using Django and Python tools to eradicate bugs and ensure your Django application works correctly. This book will walk you step by step through development of a complete sample Django application. You will learn how best to test and debug models, views, URL configuration, templates, and template tags. This book will help you integrate with and make use of the rich external environment of test and debugging tools for Python and Django applications. The book starts with a basic overview of testing. It will highlight areas to look out for while testing. You will learn about different kinds of tests available, and the pros and cons of each, and also details of test extensions provided by Django that simplify the task of testing Django applications. You will see an illustration of how external tools that provide even more sophisticated testing features can be integrated into Django's framework. On the debugging front, the book illustrates how to interpret the extensive debugging information provided by Django's debug error pages, and how to utilize logging and other external tools to learn what code is doing. |
Beschreibung: | 1 online resource (vi, 416 pages) : illustrations |
ISBN: | 9781847197573 1847197574 |
Internformat
MARC
LEADER | 00000cam a2200000 a 4500 | ||
---|---|---|---|
001 | ZDB-4-EBA-ocn670755143 | ||
003 | OCoLC | ||
005 | 20241004212047.0 | ||
006 | m o d | ||
007 | cr cnu---unuuu | ||
008 | 101019s2010 enka o 001 0 eng d | ||
040 | |a N$T |b eng |e pn |c N$T |d IDEBK |d UMI |d CEF |d E7B |d OCLCQ |d DEBSZ |d OCLCQ |d DKDLA |d YDXCP |d OCLCQ |d OCLCF |d OCLCQ |d COO |d OCLCQ |d AZK |d AGLDB |d MOR |d PIFAG |d ZCU |d OCLCQ |d MERUC |d OCLCQ |d JBG |d OCLCQ |d OCLCO |d U3W |d STF |d WRM |d VTS |d ICG |d NLE |d INT |d OCLCQ |d UKMGB |d OCLCO |d OCLCQ |d OCLCO |d UAB |d REC |d DKC |d OCLCQ |d UKAHL |d HS0 |d OCLCQ |d UKCRE |d AJS |d OCLCQ |d OCLCO |d OCLCQ |d OCLCO |d OCLCL | ||
016 | 7 | |a 018011720 |2 Uk | |
019 | |a 667102955 |a 696639216 |a 712996585 |a 764548583 |a 961489200 |a 962603701 |a 988520858 |a 992030407 |a 1037708973 |a 1038568272 |a 1153457043 | ||
020 | |a 9781847197573 |q (electronic bk.) | ||
020 | |a 1847197574 |q (electronic bk.) | ||
020 | |z 9781847197566 | ||
020 | |z 1847197566 | ||
035 | |a (OCoLC)670755143 |z (OCoLC)667102955 |z (OCoLC)696639216 |z (OCoLC)712996585 |z (OCoLC)764548583 |z (OCoLC)961489200 |z (OCoLC)962603701 |z (OCoLC)988520858 |z (OCoLC)992030407 |z (OCoLC)1037708973 |z (OCoLC)1038568272 |z (OCoLC)1153457043 | ||
037 | |a CL0500000081 |b Safari Books Online | ||
050 | 4 | |a TK5105.8885.D54 |b T73 2010eb | |
072 | 7 | |a COM |x 060160 |2 bisacsh | |
082 | 7 | |a 006.7/6 |2 22 | |
049 | |a MAIN | ||
100 | 1 | |a Tracey, Karen Marie, |d 1965- | |
245 | 1 | 0 | |a Django 1.1 testing and debugging : |b building rigorously tested and bug-free Django applications / |c Karen M. Tracey. |
246 | 3 | 0 | |a Building rigorously tested and bug-free Django applications |
260 | |a Birmingham, U.K. : |b Packt Pub., |c 2010. | ||
300 | |a 1 online resource (vi, 416 pages) : |b illustrations | ||
336 | |a text |b txt |2 rdacontent | ||
337 | |a computer |b c |2 rdamedia | ||
338 | |a online resource |b cr |2 rdacarrier | ||
347 | |a data file | ||
490 | 1 | |a From technologies to solutions | |
588 | 0 | |a Print version record. | |
520 | 8 | |a Bugs are a time consuming burden during software development. Django's built-in test framework and debugging support help lessen this burden. This book will teach you quick and efficient techniques for using Django and Python tools to eradicate bugs and ensure your Django application works correctly. This book will walk you step by step through development of a complete sample Django application. You will learn how best to test and debug models, views, URL configuration, templates, and template tags. This book will help you integrate with and make use of the rich external environment of test and debugging tools for Python and Django applications. The book starts with a basic overview of testing. It will highlight areas to look out for while testing. You will learn about different kinds of tests available, and the pros and cons of each, and also details of test extensions provided by Django that simplify the task of testing Django applications. You will see an illustration of how external tools that provide even more sophisticated testing features can be integrated into Django's framework. On the debugging front, the book illustrates how to interpret the extensive debugging information provided by Django's debug error pages, and how to utilize logging and other external tools to learn what code is doing. | |
505 | 0 | |a Cover; Copyright; Credits; About the Author; About the Reviewer; Table of Contents; Preface; Chapter 1: Django Testing Overview; Getting started: Creating a new application; Understanding the sample unit test; Understanding the sample doctest; Running the sample tests; Breaking things on purpose; Test errors versus test failures; Command line options for running tests; Verbosity; Settings; Pythonpath; Traceback; Noinput; Version; Summary; Chapter 2: Does This Code Work? Doctests in Depth; The Survey application models; Testing the Survey model; Testing Survey model creation | |
505 | 8 | |a Is that test useful?Developing a custom Survey save method; Deciding what to test; Some pros and cons of doctests so far; Additional doctest caveats; Beware of environmental dependence; Beware of database dependence; Beware of test interdependence; Beware of Unicode; Summary; Chapter 3: Testing 1, 2, 3: Basic Unit Testing; Unit tests for the Survey save override method; Pros of the unit test version; Cons of the unit test version; Revisiting the doctest caveats; Environmental dependence; Database dependence; Test interdependence; Unicode; Providing data for unit tests | |
505 | 8 | |a Providing data in test fixturesExample test that needs test data; Using the admin application to create test data; Writing the function itself; Writing a test that uses the test data; Extracting the test data from the database; Getting the test data loaded during the test run; Creating data during test set up; Summary; Chapter 4: Getting Fancier: Django Unit Test Extensions; Organizing tests; Creating the survey application home page; Defining the survey application URLs; Developing views to serve pages; Creating templates for pages; Testing the survey home page | |
505 | 8 | |a Creating the survey detail pagesRefining the survey detail view; Templates for the survey detail pages; Basic testing of the survey detail pages; Customizing the admin add and change survey pages; Developing a custom survey form; Configuring admin to use the custom form; Testing the admin customization; Additional test support; Supporting additional HTTP methods; Maintaining persistent state; E-mail services; Providing test-specific URL configuration; Response context and template information; Testing transactional behavior | |
505 | 8 | |a Chapter 5: Filling in the Blanks: Integrating Django and Other Test ToolsProblems of integration; Specifying an alternative test runner; Creating a new management command; How much of the code are we testing?; Using coverage standalone; Integrating coverage into a Django project; The twill web browsing and testing tool; Using the twill command line program; Using twill in a TestCase; Summary; Chapter 6: Django Debugging Overview; Django debug settings; The DEBUG and TEMPLATE_DEBUG settings; The TEMPLATE_STRING_IF_INVALID setting; Debug error pages; Database query history | |
630 | 0 | 0 | |a Django (Electronic resource) |0 http://id.loc.gov/authorities/names/n2008003529 |
630 | 0 | 7 | |a Django (Electronic resource) |2 blmlsh |
630 | 0 | 7 | |a Django (Electronic resource) |2 fast |
650 | 0 | |a Web sites |x Authoring programs. |0 http://id.loc.gov/authorities/subjects/sh98000036 | |
650 | 0 | |a Computer programs |x Testing. |0 http://id.loc.gov/authorities/subjects/sh85029526 | |
650 | 0 | |a Debugging in computer science. |0 http://id.loc.gov/authorities/subjects/sh85036145 | |
650 | 0 | |a Python (Computer program language) |0 http://id.loc.gov/authorities/subjects/sh96008834 | |
650 | 0 | |a Web site development. |0 http://id.loc.gov/authorities/subjects/sh98004795 | |
650 | 6 | |a Sites Web |x Systèmes-auteur. | |
650 | 6 | |a Logiciels |x Essais. | |
650 | 6 | |a Débogage. | |
650 | 6 | |a Python (Langage de programmation) | |
650 | 6 | |a Sites Web |x Développement. | |
650 | 7 | |a COMPUTERS |x Web |x Web Programming. |2 bisacsh | |
650 | 7 | |a Web sites |x Authoring programs. |2 blmlsh | |
650 | 7 | |a Computer programs |x Testing. |2 blmlsh | |
650 | 7 | |a Debugging in computer science. |2 blmlsh | |
650 | 7 | |a Python (Computer program language) |2 blmlsh | |
650 | 7 | |a Web site development. |2 blmlsh | |
650 | 7 | |a Computer programs |x Testing |2 fast | |
650 | 7 | |a Debugging in computer science |2 fast | |
650 | 7 | |a Python (Computer program language) |2 fast | |
650 | 7 | |a Web site development |2 fast | |
650 | 7 | |a Web sites |x Authoring programs |2 fast | |
758 | |i has work: |a Django 1.1 Testing and Debugging (Text) |1 https://id.oclc.org/worldcat/entity/E39PCXXtjywTp4hmmKXWFRRGBP |4 https://id.oclc.org/worldcat/ontology/hasWork | ||
776 | 0 | 8 | |i Print version: |a Tracey, Karen Marie, 1965- |t Django 1.1 testing and debugging. |d Birmingham, U.K. : Packt Pub., 2010 |z 9781847197566 |w (OCoLC)648757335 |
830 | 0 | |a From technologies to solutions. |0 http://id.loc.gov/authorities/names/no2008038412 | |
856 | 4 | 0 | |l FWS01 |p ZDB-4-EBA |q FWS_PDA_EBA |u https://search.ebscohost.com/login.aspx?direct=true&scope=site&db=nlebk&AN=333459 |3 Volltext |
938 | |a Askews and Holts Library Services |b ASKH |n AH26942907 | ||
938 | |a ebrary |b EBRY |n ebr10439358 | ||
938 | |a EBSCOhost |b EBSC |n 333459 | ||
938 | |a ProQuest MyiLibrary Digital eBook Collection |b IDEB |n 257942 | ||
938 | |a YBP Library Services |b YANK |n 3518126 | ||
994 | |a 92 |b GEBAY | ||
912 | |a ZDB-4-EBA | ||
049 | |a DE-863 |
Datensatz im Suchindex
DE-BY-FWS_katkey | ZDB-4-EBA-ocn670755143 |
---|---|
_version_ | 1816881743283617792 |
adam_text | |
any_adam_object | |
author | Tracey, Karen Marie, 1965- |
author_facet | Tracey, Karen Marie, 1965- |
author_role | |
author_sort | Tracey, Karen Marie, 1965- |
author_variant | k m t km kmt |
building | Verbundindex |
bvnumber | localFWS |
callnumber-first | T - Technology |
callnumber-label | TK5105 |
callnumber-raw | TK5105.8885.D54 T73 2010eb |
callnumber-search | TK5105.8885.D54 T73 2010eb |
callnumber-sort | TK 45105.8885 D54 T73 42010EB |
callnumber-subject | TK - Electrical and Nuclear Engineering |
collection | ZDB-4-EBA |
contents | Cover; Copyright; Credits; About the Author; About the Reviewer; Table of Contents; Preface; Chapter 1: Django Testing Overview; Getting started: Creating a new application; Understanding the sample unit test; Understanding the sample doctest; Running the sample tests; Breaking things on purpose; Test errors versus test failures; Command line options for running tests; Verbosity; Settings; Pythonpath; Traceback; Noinput; Version; Summary; Chapter 2: Does This Code Work? Doctests in Depth; The Survey application models; Testing the Survey model; Testing Survey model creation Is that test useful?Developing a custom Survey save method; Deciding what to test; Some pros and cons of doctests so far; Additional doctest caveats; Beware of environmental dependence; Beware of database dependence; Beware of test interdependence; Beware of Unicode; Summary; Chapter 3: Testing 1, 2, 3: Basic Unit Testing; Unit tests for the Survey save override method; Pros of the unit test version; Cons of the unit test version; Revisiting the doctest caveats; Environmental dependence; Database dependence; Test interdependence; Unicode; Providing data for unit tests Providing data in test fixturesExample test that needs test data; Using the admin application to create test data; Writing the function itself; Writing a test that uses the test data; Extracting the test data from the database; Getting the test data loaded during the test run; Creating data during test set up; Summary; Chapter 4: Getting Fancier: Django Unit Test Extensions; Organizing tests; Creating the survey application home page; Defining the survey application URLs; Developing views to serve pages; Creating templates for pages; Testing the survey home page Creating the survey detail pagesRefining the survey detail view; Templates for the survey detail pages; Basic testing of the survey detail pages; Customizing the admin add and change survey pages; Developing a custom survey form; Configuring admin to use the custom form; Testing the admin customization; Additional test support; Supporting additional HTTP methods; Maintaining persistent state; E-mail services; Providing test-specific URL configuration; Response context and template information; Testing transactional behavior Chapter 5: Filling in the Blanks: Integrating Django and Other Test ToolsProblems of integration; Specifying an alternative test runner; Creating a new management command; How much of the code are we testing?; Using coverage standalone; Integrating coverage into a Django project; The twill web browsing and testing tool; Using the twill command line program; Using twill in a TestCase; Summary; Chapter 6: Django Debugging Overview; Django debug settings; The DEBUG and TEMPLATE_DEBUG settings; The TEMPLATE_STRING_IF_INVALID setting; Debug error pages; Database query history |
ctrlnum | (OCoLC)670755143 |
dewey-full | 006.7/6 |
dewey-hundreds | 000 - Computer science, information, general works |
dewey-ones | 006 - Special computer methods |
dewey-raw | 006.7/6 |
dewey-search | 006.7/6 |
dewey-sort | 16.7 16 |
dewey-tens | 000 - Computer science, information, general works |
discipline | Informatik |
format | Electronic eBook |
fullrecord | <?xml version="1.0" encoding="UTF-8"?><collection xmlns="http://www.loc.gov/MARC21/slim"><record><leader>08458cam a2200865 a 4500</leader><controlfield tag="001">ZDB-4-EBA-ocn670755143</controlfield><controlfield tag="003">OCoLC</controlfield><controlfield tag="005">20241004212047.0</controlfield><controlfield tag="006">m o d </controlfield><controlfield tag="007">cr cnu---unuuu</controlfield><controlfield tag="008">101019s2010 enka o 001 0 eng d</controlfield><datafield tag="040" ind1=" " ind2=" "><subfield code="a">N$T</subfield><subfield code="b">eng</subfield><subfield code="e">pn</subfield><subfield code="c">N$T</subfield><subfield code="d">IDEBK</subfield><subfield code="d">UMI</subfield><subfield code="d">CEF</subfield><subfield code="d">E7B</subfield><subfield code="d">OCLCQ</subfield><subfield code="d">DEBSZ</subfield><subfield code="d">OCLCQ</subfield><subfield code="d">DKDLA</subfield><subfield code="d">YDXCP</subfield><subfield code="d">OCLCQ</subfield><subfield code="d">OCLCF</subfield><subfield code="d">OCLCQ</subfield><subfield code="d">COO</subfield><subfield code="d">OCLCQ</subfield><subfield code="d">AZK</subfield><subfield code="d">AGLDB</subfield><subfield code="d">MOR</subfield><subfield code="d">PIFAG</subfield><subfield code="d">ZCU</subfield><subfield code="d">OCLCQ</subfield><subfield code="d">MERUC</subfield><subfield code="d">OCLCQ</subfield><subfield code="d">JBG</subfield><subfield code="d">OCLCQ</subfield><subfield code="d">OCLCO</subfield><subfield code="d">U3W</subfield><subfield code="d">STF</subfield><subfield code="d">WRM</subfield><subfield code="d">VTS</subfield><subfield code="d">ICG</subfield><subfield code="d">NLE</subfield><subfield code="d">INT</subfield><subfield code="d">OCLCQ</subfield><subfield code="d">UKMGB</subfield><subfield code="d">OCLCO</subfield><subfield code="d">OCLCQ</subfield><subfield code="d">OCLCO</subfield><subfield code="d">UAB</subfield><subfield code="d">REC</subfield><subfield code="d">DKC</subfield><subfield code="d">OCLCQ</subfield><subfield code="d">UKAHL</subfield><subfield code="d">HS0</subfield><subfield code="d">OCLCQ</subfield><subfield code="d">UKCRE</subfield><subfield code="d">AJS</subfield><subfield code="d">OCLCQ</subfield><subfield code="d">OCLCO</subfield><subfield code="d">OCLCQ</subfield><subfield code="d">OCLCO</subfield><subfield code="d">OCLCL</subfield></datafield><datafield tag="016" ind1="7" ind2=" "><subfield code="a">018011720</subfield><subfield code="2">Uk</subfield></datafield><datafield tag="019" ind1=" " ind2=" "><subfield code="a">667102955</subfield><subfield code="a">696639216</subfield><subfield code="a">712996585</subfield><subfield code="a">764548583</subfield><subfield code="a">961489200</subfield><subfield code="a">962603701</subfield><subfield code="a">988520858</subfield><subfield code="a">992030407</subfield><subfield code="a">1037708973</subfield><subfield code="a">1038568272</subfield><subfield code="a">1153457043</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">9781847197573</subfield><subfield code="q">(electronic bk.)</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">1847197574</subfield><subfield code="q">(electronic bk.)</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="z">9781847197566</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="z">1847197566</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(OCoLC)670755143</subfield><subfield code="z">(OCoLC)667102955</subfield><subfield code="z">(OCoLC)696639216</subfield><subfield code="z">(OCoLC)712996585</subfield><subfield code="z">(OCoLC)764548583</subfield><subfield code="z">(OCoLC)961489200</subfield><subfield code="z">(OCoLC)962603701</subfield><subfield code="z">(OCoLC)988520858</subfield><subfield code="z">(OCoLC)992030407</subfield><subfield code="z">(OCoLC)1037708973</subfield><subfield code="z">(OCoLC)1038568272</subfield><subfield code="z">(OCoLC)1153457043</subfield></datafield><datafield tag="037" ind1=" " ind2=" "><subfield code="a">CL0500000081</subfield><subfield code="b">Safari Books Online</subfield></datafield><datafield tag="050" ind1=" " ind2="4"><subfield code="a">TK5105.8885.D54</subfield><subfield code="b">T73 2010eb</subfield></datafield><datafield tag="072" ind1=" " ind2="7"><subfield code="a">COM</subfield><subfield code="x">060160</subfield><subfield code="2">bisacsh</subfield></datafield><datafield tag="082" ind1="7" ind2=" "><subfield code="a">006.7/6</subfield><subfield code="2">22</subfield></datafield><datafield tag="049" ind1=" " ind2=" "><subfield code="a">MAIN</subfield></datafield><datafield tag="100" ind1="1" ind2=" "><subfield code="a">Tracey, Karen Marie,</subfield><subfield code="d">1965-</subfield></datafield><datafield tag="245" ind1="1" ind2="0"><subfield code="a">Django 1.1 testing and debugging :</subfield><subfield code="b">building rigorously tested and bug-free Django applications /</subfield><subfield code="c">Karen M. Tracey.</subfield></datafield><datafield tag="246" ind1="3" ind2="0"><subfield code="a">Building rigorously tested and bug-free Django applications</subfield></datafield><datafield tag="260" ind1=" " ind2=" "><subfield code="a">Birmingham, U.K. :</subfield><subfield code="b">Packt Pub.,</subfield><subfield code="c">2010.</subfield></datafield><datafield tag="300" ind1=" " ind2=" "><subfield code="a">1 online resource (vi, 416 pages) :</subfield><subfield code="b">illustrations</subfield></datafield><datafield tag="336" ind1=" " ind2=" "><subfield code="a">text</subfield><subfield code="b">txt</subfield><subfield code="2">rdacontent</subfield></datafield><datafield tag="337" ind1=" " ind2=" "><subfield code="a">computer</subfield><subfield code="b">c</subfield><subfield code="2">rdamedia</subfield></datafield><datafield tag="338" ind1=" " ind2=" "><subfield code="a">online resource</subfield><subfield code="b">cr</subfield><subfield code="2">rdacarrier</subfield></datafield><datafield tag="347" ind1=" " ind2=" "><subfield code="a">data file</subfield></datafield><datafield tag="490" ind1="1" ind2=" "><subfield code="a">From technologies to solutions</subfield></datafield><datafield tag="588" ind1="0" ind2=" "><subfield code="a">Print version record.</subfield></datafield><datafield tag="520" ind1="8" ind2=" "><subfield code="a">Bugs are a time consuming burden during software development. Django's built-in test framework and debugging support help lessen this burden. This book will teach you quick and efficient techniques for using Django and Python tools to eradicate bugs and ensure your Django application works correctly. This book will walk you step by step through development of a complete sample Django application. You will learn how best to test and debug models, views, URL configuration, templates, and template tags. This book will help you integrate with and make use of the rich external environment of test and debugging tools for Python and Django applications. The book starts with a basic overview of testing. It will highlight areas to look out for while testing. You will learn about different kinds of tests available, and the pros and cons of each, and also details of test extensions provided by Django that simplify the task of testing Django applications. You will see an illustration of how external tools that provide even more sophisticated testing features can be integrated into Django's framework. On the debugging front, the book illustrates how to interpret the extensive debugging information provided by Django's debug error pages, and how to utilize logging and other external tools to learn what code is doing.</subfield></datafield><datafield tag="505" ind1="0" ind2=" "><subfield code="a">Cover; Copyright; Credits; About the Author; About the Reviewer; Table of Contents; Preface; Chapter 1: Django Testing Overview; Getting started: Creating a new application; Understanding the sample unit test; Understanding the sample doctest; Running the sample tests; Breaking things on purpose; Test errors versus test failures; Command line options for running tests; Verbosity; Settings; Pythonpath; Traceback; Noinput; Version; Summary; Chapter 2: Does This Code Work? Doctests in Depth; The Survey application models; Testing the Survey model; Testing Survey model creation</subfield></datafield><datafield tag="505" ind1="8" ind2=" "><subfield code="a">Is that test useful?Developing a custom Survey save method; Deciding what to test; Some pros and cons of doctests so far; Additional doctest caveats; Beware of environmental dependence; Beware of database dependence; Beware of test interdependence; Beware of Unicode; Summary; Chapter 3: Testing 1, 2, 3: Basic Unit Testing; Unit tests for the Survey save override method; Pros of the unit test version; Cons of the unit test version; Revisiting the doctest caveats; Environmental dependence; Database dependence; Test interdependence; Unicode; Providing data for unit tests</subfield></datafield><datafield tag="505" ind1="8" ind2=" "><subfield code="a">Providing data in test fixturesExample test that needs test data; Using the admin application to create test data; Writing the function itself; Writing a test that uses the test data; Extracting the test data from the database; Getting the test data loaded during the test run; Creating data during test set up; Summary; Chapter 4: Getting Fancier: Django Unit Test Extensions; Organizing tests; Creating the survey application home page; Defining the survey application URLs; Developing views to serve pages; Creating templates for pages; Testing the survey home page</subfield></datafield><datafield tag="505" ind1="8" ind2=" "><subfield code="a">Creating the survey detail pagesRefining the survey detail view; Templates for the survey detail pages; Basic testing of the survey detail pages; Customizing the admin add and change survey pages; Developing a custom survey form; Configuring admin to use the custom form; Testing the admin customization; Additional test support; Supporting additional HTTP methods; Maintaining persistent state; E-mail services; Providing test-specific URL configuration; Response context and template information; Testing transactional behavior</subfield></datafield><datafield tag="505" ind1="8" ind2=" "><subfield code="a">Chapter 5: Filling in the Blanks: Integrating Django and Other Test ToolsProblems of integration; Specifying an alternative test runner; Creating a new management command; How much of the code are we testing?; Using coverage standalone; Integrating coverage into a Django project; The twill web browsing and testing tool; Using the twill command line program; Using twill in a TestCase; Summary; Chapter 6: Django Debugging Overview; Django debug settings; The DEBUG and TEMPLATE_DEBUG settings; The TEMPLATE_STRING_IF_INVALID setting; Debug error pages; Database query history</subfield></datafield><datafield tag="630" ind1="0" ind2="0"><subfield code="a">Django (Electronic resource)</subfield><subfield code="0">http://id.loc.gov/authorities/names/n2008003529</subfield></datafield><datafield tag="630" ind1="0" ind2="7"><subfield code="a">Django (Electronic resource)</subfield><subfield code="2">blmlsh</subfield></datafield><datafield tag="630" ind1="0" ind2="7"><subfield code="a">Django (Electronic resource)</subfield><subfield code="2">fast</subfield></datafield><datafield tag="650" ind1=" " ind2="0"><subfield code="a">Web sites</subfield><subfield code="x">Authoring programs.</subfield><subfield code="0">http://id.loc.gov/authorities/subjects/sh98000036</subfield></datafield><datafield tag="650" ind1=" " ind2="0"><subfield code="a">Computer programs</subfield><subfield code="x">Testing.</subfield><subfield code="0">http://id.loc.gov/authorities/subjects/sh85029526</subfield></datafield><datafield tag="650" ind1=" " ind2="0"><subfield code="a">Debugging in computer science.</subfield><subfield code="0">http://id.loc.gov/authorities/subjects/sh85036145</subfield></datafield><datafield tag="650" ind1=" " ind2="0"><subfield code="a">Python (Computer program language)</subfield><subfield code="0">http://id.loc.gov/authorities/subjects/sh96008834</subfield></datafield><datafield tag="650" ind1=" " ind2="0"><subfield code="a">Web site development.</subfield><subfield code="0">http://id.loc.gov/authorities/subjects/sh98004795</subfield></datafield><datafield tag="650" ind1=" " ind2="6"><subfield code="a">Sites Web</subfield><subfield code="x">Systèmes-auteur.</subfield></datafield><datafield tag="650" ind1=" " ind2="6"><subfield code="a">Logiciels</subfield><subfield code="x">Essais.</subfield></datafield><datafield tag="650" ind1=" " ind2="6"><subfield code="a">Débogage.</subfield></datafield><datafield tag="650" ind1=" " ind2="6"><subfield code="a">Python (Langage de programmation)</subfield></datafield><datafield tag="650" ind1=" " ind2="6"><subfield code="a">Sites Web</subfield><subfield code="x">Développement.</subfield></datafield><datafield tag="650" ind1=" " ind2="7"><subfield code="a">COMPUTERS</subfield><subfield code="x">Web</subfield><subfield code="x">Web Programming.</subfield><subfield code="2">bisacsh</subfield></datafield><datafield tag="650" ind1=" " ind2="7"><subfield code="a">Web sites</subfield><subfield code="x">Authoring programs.</subfield><subfield code="2">blmlsh</subfield></datafield><datafield tag="650" ind1=" " ind2="7"><subfield code="a">Computer programs</subfield><subfield code="x">Testing.</subfield><subfield code="2">blmlsh</subfield></datafield><datafield tag="650" ind1=" " ind2="7"><subfield code="a">Debugging in computer science.</subfield><subfield code="2">blmlsh</subfield></datafield><datafield tag="650" ind1=" " ind2="7"><subfield code="a">Python (Computer program language)</subfield><subfield code="2">blmlsh</subfield></datafield><datafield tag="650" ind1=" " ind2="7"><subfield code="a">Web site development.</subfield><subfield code="2">blmlsh</subfield></datafield><datafield tag="650" ind1=" " ind2="7"><subfield code="a">Computer programs</subfield><subfield code="x">Testing</subfield><subfield code="2">fast</subfield></datafield><datafield tag="650" ind1=" " ind2="7"><subfield code="a">Debugging in computer science</subfield><subfield code="2">fast</subfield></datafield><datafield tag="650" ind1=" " ind2="7"><subfield code="a">Python (Computer program language)</subfield><subfield code="2">fast</subfield></datafield><datafield tag="650" ind1=" " ind2="7"><subfield code="a">Web site development</subfield><subfield code="2">fast</subfield></datafield><datafield tag="650" ind1=" " ind2="7"><subfield code="a">Web sites</subfield><subfield code="x">Authoring programs</subfield><subfield code="2">fast</subfield></datafield><datafield tag="758" ind1=" " ind2=" "><subfield code="i">has work:</subfield><subfield code="a">Django 1.1 Testing and Debugging (Text)</subfield><subfield code="1">https://id.oclc.org/worldcat/entity/E39PCXXtjywTp4hmmKXWFRRGBP</subfield><subfield code="4">https://id.oclc.org/worldcat/ontology/hasWork</subfield></datafield><datafield tag="776" ind1="0" ind2="8"><subfield code="i">Print version:</subfield><subfield code="a">Tracey, Karen Marie, 1965-</subfield><subfield code="t">Django 1.1 testing and debugging.</subfield><subfield code="d">Birmingham, U.K. : Packt Pub., 2010</subfield><subfield code="z">9781847197566</subfield><subfield code="w">(OCoLC)648757335</subfield></datafield><datafield tag="830" ind1=" " ind2="0"><subfield code="a">From technologies to solutions.</subfield><subfield code="0">http://id.loc.gov/authorities/names/no2008038412</subfield></datafield><datafield tag="856" ind1="4" ind2="0"><subfield code="l">FWS01</subfield><subfield code="p">ZDB-4-EBA</subfield><subfield code="q">FWS_PDA_EBA</subfield><subfield code="u">https://search.ebscohost.com/login.aspx?direct=true&scope=site&db=nlebk&AN=333459</subfield><subfield code="3">Volltext</subfield></datafield><datafield tag="938" ind1=" " ind2=" "><subfield code="a">Askews and Holts Library Services</subfield><subfield code="b">ASKH</subfield><subfield code="n">AH26942907</subfield></datafield><datafield tag="938" ind1=" " ind2=" "><subfield code="a">ebrary</subfield><subfield code="b">EBRY</subfield><subfield code="n">ebr10439358</subfield></datafield><datafield tag="938" ind1=" " ind2=" "><subfield code="a">EBSCOhost</subfield><subfield code="b">EBSC</subfield><subfield code="n">333459</subfield></datafield><datafield tag="938" ind1=" " ind2=" "><subfield code="a">ProQuest MyiLibrary Digital eBook Collection</subfield><subfield code="b">IDEB</subfield><subfield code="n">257942</subfield></datafield><datafield tag="938" ind1=" " ind2=" "><subfield code="a">YBP Library Services</subfield><subfield code="b">YANK</subfield><subfield code="n">3518126</subfield></datafield><datafield tag="994" ind1=" " ind2=" "><subfield code="a">92</subfield><subfield code="b">GEBAY</subfield></datafield><datafield tag="912" ind1=" " ind2=" "><subfield code="a">ZDB-4-EBA</subfield></datafield><datafield tag="049" ind1=" " ind2=" "><subfield code="a">DE-863</subfield></datafield></record></collection> |
id | ZDB-4-EBA-ocn670755143 |
illustrated | Illustrated |
indexdate | 2024-11-27T13:17:34Z |
institution | BVB |
isbn | 9781847197573 1847197574 |
language | English |
oclc_num | 670755143 |
open_access_boolean | |
owner | MAIN DE-863 DE-BY-FWS |
owner_facet | MAIN DE-863 DE-BY-FWS |
physical | 1 online resource (vi, 416 pages) : illustrations |
psigel | ZDB-4-EBA |
publishDate | 2010 |
publishDateSearch | 2010 |
publishDateSort | 2010 |
publisher | Packt Pub., |
record_format | marc |
series | From technologies to solutions. |
series2 | From technologies to solutions |
spelling | Tracey, Karen Marie, 1965- Django 1.1 testing and debugging : building rigorously tested and bug-free Django applications / Karen M. Tracey. Building rigorously tested and bug-free Django applications Birmingham, U.K. : Packt Pub., 2010. 1 online resource (vi, 416 pages) : illustrations text txt rdacontent computer c rdamedia online resource cr rdacarrier data file From technologies to solutions Print version record. Bugs are a time consuming burden during software development. Django's built-in test framework and debugging support help lessen this burden. This book will teach you quick and efficient techniques for using Django and Python tools to eradicate bugs and ensure your Django application works correctly. This book will walk you step by step through development of a complete sample Django application. You will learn how best to test and debug models, views, URL configuration, templates, and template tags. This book will help you integrate with and make use of the rich external environment of test and debugging tools for Python and Django applications. The book starts with a basic overview of testing. It will highlight areas to look out for while testing. You will learn about different kinds of tests available, and the pros and cons of each, and also details of test extensions provided by Django that simplify the task of testing Django applications. You will see an illustration of how external tools that provide even more sophisticated testing features can be integrated into Django's framework. On the debugging front, the book illustrates how to interpret the extensive debugging information provided by Django's debug error pages, and how to utilize logging and other external tools to learn what code is doing. Cover; Copyright; Credits; About the Author; About the Reviewer; Table of Contents; Preface; Chapter 1: Django Testing Overview; Getting started: Creating a new application; Understanding the sample unit test; Understanding the sample doctest; Running the sample tests; Breaking things on purpose; Test errors versus test failures; Command line options for running tests; Verbosity; Settings; Pythonpath; Traceback; Noinput; Version; Summary; Chapter 2: Does This Code Work? Doctests in Depth; The Survey application models; Testing the Survey model; Testing Survey model creation Is that test useful?Developing a custom Survey save method; Deciding what to test; Some pros and cons of doctests so far; Additional doctest caveats; Beware of environmental dependence; Beware of database dependence; Beware of test interdependence; Beware of Unicode; Summary; Chapter 3: Testing 1, 2, 3: Basic Unit Testing; Unit tests for the Survey save override method; Pros of the unit test version; Cons of the unit test version; Revisiting the doctest caveats; Environmental dependence; Database dependence; Test interdependence; Unicode; Providing data for unit tests Providing data in test fixturesExample test that needs test data; Using the admin application to create test data; Writing the function itself; Writing a test that uses the test data; Extracting the test data from the database; Getting the test data loaded during the test run; Creating data during test set up; Summary; Chapter 4: Getting Fancier: Django Unit Test Extensions; Organizing tests; Creating the survey application home page; Defining the survey application URLs; Developing views to serve pages; Creating templates for pages; Testing the survey home page Creating the survey detail pagesRefining the survey detail view; Templates for the survey detail pages; Basic testing of the survey detail pages; Customizing the admin add and change survey pages; Developing a custom survey form; Configuring admin to use the custom form; Testing the admin customization; Additional test support; Supporting additional HTTP methods; Maintaining persistent state; E-mail services; Providing test-specific URL configuration; Response context and template information; Testing transactional behavior Chapter 5: Filling in the Blanks: Integrating Django and Other Test ToolsProblems of integration; Specifying an alternative test runner; Creating a new management command; How much of the code are we testing?; Using coverage standalone; Integrating coverage into a Django project; The twill web browsing and testing tool; Using the twill command line program; Using twill in a TestCase; Summary; Chapter 6: Django Debugging Overview; Django debug settings; The DEBUG and TEMPLATE_DEBUG settings; The TEMPLATE_STRING_IF_INVALID setting; Debug error pages; Database query history Django (Electronic resource) http://id.loc.gov/authorities/names/n2008003529 Django (Electronic resource) blmlsh Django (Electronic resource) fast Web sites Authoring programs. http://id.loc.gov/authorities/subjects/sh98000036 Computer programs Testing. http://id.loc.gov/authorities/subjects/sh85029526 Debugging in computer science. http://id.loc.gov/authorities/subjects/sh85036145 Python (Computer program language) http://id.loc.gov/authorities/subjects/sh96008834 Web site development. http://id.loc.gov/authorities/subjects/sh98004795 Sites Web Systèmes-auteur. Logiciels Essais. Débogage. Python (Langage de programmation) Sites Web Développement. COMPUTERS Web Web Programming. bisacsh Web sites Authoring programs. blmlsh Computer programs Testing. blmlsh Debugging in computer science. blmlsh Python (Computer program language) blmlsh Web site development. blmlsh Computer programs Testing fast Debugging in computer science fast Python (Computer program language) fast Web site development fast Web sites Authoring programs fast has work: Django 1.1 Testing and Debugging (Text) https://id.oclc.org/worldcat/entity/E39PCXXtjywTp4hmmKXWFRRGBP https://id.oclc.org/worldcat/ontology/hasWork Print version: Tracey, Karen Marie, 1965- Django 1.1 testing and debugging. Birmingham, U.K. : Packt Pub., 2010 9781847197566 (OCoLC)648757335 From technologies to solutions. http://id.loc.gov/authorities/names/no2008038412 FWS01 ZDB-4-EBA FWS_PDA_EBA https://search.ebscohost.com/login.aspx?direct=true&scope=site&db=nlebk&AN=333459 Volltext |
spellingShingle | Tracey, Karen Marie, 1965- Django 1.1 testing and debugging : building rigorously tested and bug-free Django applications / From technologies to solutions. Cover; Copyright; Credits; About the Author; About the Reviewer; Table of Contents; Preface; Chapter 1: Django Testing Overview; Getting started: Creating a new application; Understanding the sample unit test; Understanding the sample doctest; Running the sample tests; Breaking things on purpose; Test errors versus test failures; Command line options for running tests; Verbosity; Settings; Pythonpath; Traceback; Noinput; Version; Summary; Chapter 2: Does This Code Work? Doctests in Depth; The Survey application models; Testing the Survey model; Testing Survey model creation Is that test useful?Developing a custom Survey save method; Deciding what to test; Some pros and cons of doctests so far; Additional doctest caveats; Beware of environmental dependence; Beware of database dependence; Beware of test interdependence; Beware of Unicode; Summary; Chapter 3: Testing 1, 2, 3: Basic Unit Testing; Unit tests for the Survey save override method; Pros of the unit test version; Cons of the unit test version; Revisiting the doctest caveats; Environmental dependence; Database dependence; Test interdependence; Unicode; Providing data for unit tests Providing data in test fixturesExample test that needs test data; Using the admin application to create test data; Writing the function itself; Writing a test that uses the test data; Extracting the test data from the database; Getting the test data loaded during the test run; Creating data during test set up; Summary; Chapter 4: Getting Fancier: Django Unit Test Extensions; Organizing tests; Creating the survey application home page; Defining the survey application URLs; Developing views to serve pages; Creating templates for pages; Testing the survey home page Creating the survey detail pagesRefining the survey detail view; Templates for the survey detail pages; Basic testing of the survey detail pages; Customizing the admin add and change survey pages; Developing a custom survey form; Configuring admin to use the custom form; Testing the admin customization; Additional test support; Supporting additional HTTP methods; Maintaining persistent state; E-mail services; Providing test-specific URL configuration; Response context and template information; Testing transactional behavior Chapter 5: Filling in the Blanks: Integrating Django and Other Test ToolsProblems of integration; Specifying an alternative test runner; Creating a new management command; How much of the code are we testing?; Using coverage standalone; Integrating coverage into a Django project; The twill web browsing and testing tool; Using the twill command line program; Using twill in a TestCase; Summary; Chapter 6: Django Debugging Overview; Django debug settings; The DEBUG and TEMPLATE_DEBUG settings; The TEMPLATE_STRING_IF_INVALID setting; Debug error pages; Database query history Django (Electronic resource) http://id.loc.gov/authorities/names/n2008003529 Django (Electronic resource) blmlsh Django (Electronic resource) fast Web sites Authoring programs. http://id.loc.gov/authorities/subjects/sh98000036 Computer programs Testing. http://id.loc.gov/authorities/subjects/sh85029526 Debugging in computer science. http://id.loc.gov/authorities/subjects/sh85036145 Python (Computer program language) http://id.loc.gov/authorities/subjects/sh96008834 Web site development. http://id.loc.gov/authorities/subjects/sh98004795 Sites Web Systèmes-auteur. Logiciels Essais. Débogage. Python (Langage de programmation) Sites Web Développement. COMPUTERS Web Web Programming. bisacsh Web sites Authoring programs. blmlsh Computer programs Testing. blmlsh Debugging in computer science. blmlsh Python (Computer program language) blmlsh Web site development. blmlsh Computer programs Testing fast Debugging in computer science fast Python (Computer program language) fast Web site development fast Web sites Authoring programs fast |
subject_GND | http://id.loc.gov/authorities/names/n2008003529 http://id.loc.gov/authorities/subjects/sh98000036 http://id.loc.gov/authorities/subjects/sh85029526 http://id.loc.gov/authorities/subjects/sh85036145 http://id.loc.gov/authorities/subjects/sh96008834 http://id.loc.gov/authorities/subjects/sh98004795 |
title | Django 1.1 testing and debugging : building rigorously tested and bug-free Django applications / |
title_alt | Building rigorously tested and bug-free Django applications |
title_auth | Django 1.1 testing and debugging : building rigorously tested and bug-free Django applications / |
title_exact_search | Django 1.1 testing and debugging : building rigorously tested and bug-free Django applications / |
title_full | Django 1.1 testing and debugging : building rigorously tested and bug-free Django applications / Karen M. Tracey. |
title_fullStr | Django 1.1 testing and debugging : building rigorously tested and bug-free Django applications / Karen M. Tracey. |
title_full_unstemmed | Django 1.1 testing and debugging : building rigorously tested and bug-free Django applications / Karen M. Tracey. |
title_short | Django 1.1 testing and debugging : |
title_sort | django 1 1 testing and debugging building rigorously tested and bug free django applications |
title_sub | building rigorously tested and bug-free Django applications / |
topic | Django (Electronic resource) http://id.loc.gov/authorities/names/n2008003529 Django (Electronic resource) blmlsh Django (Electronic resource) fast Web sites Authoring programs. http://id.loc.gov/authorities/subjects/sh98000036 Computer programs Testing. http://id.loc.gov/authorities/subjects/sh85029526 Debugging in computer science. http://id.loc.gov/authorities/subjects/sh85036145 Python (Computer program language) http://id.loc.gov/authorities/subjects/sh96008834 Web site development. http://id.loc.gov/authorities/subjects/sh98004795 Sites Web Systèmes-auteur. Logiciels Essais. Débogage. Python (Langage de programmation) Sites Web Développement. COMPUTERS Web Web Programming. bisacsh Web sites Authoring programs. blmlsh Computer programs Testing. blmlsh Debugging in computer science. blmlsh Python (Computer program language) blmlsh Web site development. blmlsh Computer programs Testing fast Debugging in computer science fast Python (Computer program language) fast Web site development fast Web sites Authoring programs fast |
topic_facet | Django (Electronic resource) Web sites Authoring programs. Computer programs Testing. Debugging in computer science. Python (Computer program language) Web site development. Sites Web Systèmes-auteur. Logiciels Essais. Débogage. Python (Langage de programmation) Sites Web Développement. COMPUTERS Web Web Programming. Computer programs Testing Debugging in computer science Web site development Web sites Authoring programs |
url | https://search.ebscohost.com/login.aspx?direct=true&scope=site&db=nlebk&AN=333459 |
work_keys_str_mv | AT traceykarenmarie django11testinganddebuggingbuildingrigorouslytestedandbugfreedjangoapplications AT traceykarenmarie buildingrigorouslytestedandbugfreedjangoapplications |