Cargando…

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...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Tracey, Karen Marie, 1965-
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Birmingham, U.K. : Packt Pub., 2010.
Colección:From technologies to solutions.
Temas:
Acceso en línea:Texto completo

MARC

LEADER 00000cam a2200000 a 4500
001 EBSCO_ocn670755143
003 OCoLC
005 20231017213018.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 
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 
029 1 |a AU@  |b 000054176341 
029 1 |a DEBBG  |b BV043153864 
029 1 |a DEBBG  |b BV044177147 
029 1 |a DEBSZ  |b 355449323 
029 1 |a DEBSZ  |b 372809006 
029 1 |a DEBSZ  |b 397614381 
029 1 |a DEBSZ  |b 421691867 
029 1 |a GBVCP  |b 785354689 
029 1 |a HEBIS  |b 291519296 
029 1 |a NZ1  |b 13869831 
029 1 |a UKMGB  |b 018011720 
029 1 |a DKDLA  |b 820120-katalog:999939936205765 
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 0 4 |a 006.7/6  |2 22 
049 |a UAMI 
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 
590 |a eBooks on EBSCOhost  |b EBSCO eBook Subscription Academic Collection - Worldwide 
630 0 0 |a Django (Electronic resource) 
630 0 7 |a Django (Electronic resource)  |2 blmlsh 
630 0 7 |a Django (Electronic resource)  |2 fast  |0 (OCoLC)fst01780807 
650 0 |a Web sites  |x Authoring programs. 
650 0 |a Computer programs  |x Testing. 
650 0 |a Debugging in computer science. 
650 0 |a Python (Computer program language) 
650 0 |a Web site development. 
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  |0 (OCoLC)fst00872443 
650 7 |a Debugging in computer science.  |2 fast  |0 (OCoLC)fst00888884 
650 7 |a Python (Computer program language)  |2 fast  |0 (OCoLC)fst01084736 
650 7 |a Web site development.  |2 fast  |0 (OCoLC)fst01173243 
650 7 |a Web sites  |x Authoring programs.  |2 fast  |0 (OCoLC)fst01173249 
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. 
856 4 0 |u https://ebsco.uam.elogim.com/login.aspx?direct=true&scope=site&db=nlebk&AN=333459  |z Texto completo 
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 IZTAP