Test-driven development with Django

Test-driven development with Django: develop powerful, fully-featured Django applications by writing tests first

by Harvey, Kevin

Type Book
Rate 0.0 /5

This book is for Django developers with little or no knowledge of test-driven development or testing in general. Familiarity with the command line, setting up a Python virtual environment, and starting a Django project are assumed.

Read More ↓

Title Statements

  • Full title :Test-driven development with Django : develop powerful, fully-featured Django applications by writing tests first / Kevin Harvey.

Summary

This book is for Django developers with little or no knowledge of test-driven development or testing in general. Familiarity with the command line, setting up a Python virtual environment, and starting a Django project are assumed.

Read More ↓

Edition Statements

  • Publication Date:2015.

Publication Statements

  • Publisher(s):Packt Publishing
  • Place of Publication:Birmingham, England
  • Language:eng
  • Publication Date:2015.

Notes

Includes index.

"Community experience distilled"--Cover

The Physical Object

  • Description:1 online resource (187 pages)

Edition Identifiers

  • ISBN:9781785281167, 178528116X, 9781785287534, 1785287532
  • oclc:ocn927380112
  • LC Classification:TK5105.8885.D54
  • Dewey Decimal:006.76

Table of Contents

Cover -- Copyright -- Credits -- About the Author -- About the Reviewers -- www.PacktPub.com -- Table of Contents -- Preface -- Chapter 1: Keeping Your Promises -- What is Test Driven Development? -- A simple example -- Red/green/refactor -- Testing is a pillar of professional software development -- Version control -- Documentation -- Testing -- Continuous Integration -- How does TDD help in building better software? -- Doesn't it take longer? -- Can't I just write the tests later? -- Summary -- Chapter 2: Your First Test-Driven Application

""Where do we begin?""""Functional versus unit tests""; ""User versus developer experience""; ""Size""; ""Breadth""; ""The project � jmad.us""; ""Setting up your environment""; ""Starting the project""; ""Getting the sample code""; ""Starting a functional test""; ""Introducing LiveServerTestCase""; ""Introducing Selenium""; ""Fleshing out the user story""; ""Getting the test to fail""; ""Opening a page with WebDriver""; ""Finding elements with WebDriver""; ""Reading test output""; ""Setting up a Django app for unit tests""; ""Planning our unit tests""; ""Finally writing application code""

Testing views with RequestFactoryContinuing through…

Read More ↓

Subjects

Writers

Rate & Review

0.0/5
(0 people Voted)

No reviews yet. Be the first to rate this work.

Files & Downloads

  • Django Test-Driven Development (Python) -- (.pdf)

    PDF · 4.0 MB · updated