Test-driven Python development : develop high-quality and maintainable Python applications using the principles of test-driven development /
Annotation
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Birmingham :
Packt Publishing,
2015.
|
Colección: | Community experience distilled.
|
Temas: | |
Acceso en línea: | Texto completo Texto completo |
MARC
LEADER | 00000cam a2200000 i 4500 | ||
---|---|---|---|
001 | EBSCO_ocn910341793 | ||
003 | OCoLC | ||
005 | 20231017213018.0 | ||
006 | m o d | ||
007 | cr unu|||||||| | ||
008 | 150529s2015 enka o 001 0 eng d | ||
040 | |a UMI |b eng |e rda |e pn |c UMI |d IDEBK |d EBLCP |d DEBSZ |d YDXCP |d DEBBG |d OCLCF |d N$T |d E7B |d COO |d REB |d IDB |d TEFOD |d OCLCQ |d MERUC |d VT2 |d OCL |d CEF |d NLE |d UKMGB |d OCLCQ |d UAB |d UKAHL |d RDF |d OCLCQ |d OCLCO |d OCLCQ |d QGK |d OCLCO | ||
016 | 7 | |a 018007079 |2 Uk | |
019 | |a 908632824 |a 909896453 |a 909972211 |a 961597420 |a 1259224094 | ||
020 | |a 9781783987931 |q (electronic bk.) | ||
020 | |a 1783987936 |q (electronic bk.) | ||
020 | |z 9781783987924 | ||
020 | |z 1783987928 | ||
029 | 1 | |a AU@ |b 000058967120 | |
029 | 1 | |a AU@ |b 000067100930 | |
029 | 1 | |a CHNEW |b 000891419 | |
029 | 1 | |a CHVBK |b 374534373 | |
029 | 1 | |a DEBBG |b BV042683552 | |
029 | 1 | |a DEBBG |b BV043620332 | |
029 | 1 | |a DEBSZ |b 433561459 | |
029 | 1 | |a DEBSZ |b 446587567 | |
029 | 1 | |a GBVCP |b 835875490 | |
029 | 1 | |a UKMGB |b 018007079 | |
035 | |a (OCoLC)910341793 |z (OCoLC)908632824 |z (OCoLC)909896453 |z (OCoLC)909972211 |z (OCoLC)961597420 |z (OCoLC)1259224094 | ||
037 | |a CL0500000597 |b Safari Books Online | ||
037 | |a 40951E77-DFD5-411A-A9CC-EC5F21C6CA50 |b OverDrive, Inc. |n http://www.overdrive.com | ||
050 | 4 | |a QA76.73.P98 | |
072 | 7 | |a COM |x 013000 |2 bisacsh | |
072 | 7 | |a COM |x 014000 |2 bisacsh | |
072 | 7 | |a COM |x 018000 |2 bisacsh | |
072 | 7 | |a COM |x 067000 |2 bisacsh | |
072 | 7 | |a COM |x 032000 |2 bisacsh | |
072 | 7 | |a COM |x 037000 |2 bisacsh | |
072 | 7 | |a COM |x 052000 |2 bisacsh | |
082 | 0 | 4 | |a 004.10923478 |
049 | |a UAMI | ||
100 | 1 | |a Govindaraj, Siddharta, |e author. | |
245 | 1 | 0 | |a Test-driven Python development : |b develop high-quality and maintainable Python applications using the principles of test-driven development / |c Siddharta Govindaraj. |
264 | 1 | |a Birmingham : |b Packt Publishing, |c 2015. | |
300 | |a 1 online resource : |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 text file | ||
490 | 1 | |a Community experience distilled | |
588 | 0 | |a Online resource; title from PDF title page (EBSCO, viewed September 9, 2016). | |
500 | |a Includes index. | ||
520 | 8 | |a Annotation |b This book is intended for Python developers who want to use the principles of test-driven development (TDD) to create efficient and robust applications. In order to get the best out of this book, you should have development experience with Python. | |
505 | 0 | |a Cover; Copyright; Credits; About the Author; Acknowledgments; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Getting Started with Test-driven Development; Prerequisites; Understanding test-driven development; TDD versus unit testing versus integration testing; Using TDD to build a stock alert application; Writing our first test; Analyzing the test output; Test errors versus test failures; Making the test pass; Reorganizing the test code; Running the tests after the reorganization; Summary; Chapter 2: Red-Green-Refactor -- The TDD Cycle | |
505 | 8 | |a Tests are executable requirementsArrange-Act-Assert; Documenting our tests; Testing for exceptions; Exploring assert methods; Specific asserts versus generic asserts; Setup and teardown; Brittle tests; Refactoring the design; Refactoring tests; Exploring the Rule classes; Exercise; Summary; Chapter 3: Code Smells and Refactoring; A dual crossover moving average; Implementing the dual crossover moving average; Identifying code smells; Refactoring; The Rename Variable and Rename Method refactorings; Commenting Styles; Replace Magic Literals with Constants; The Extract Method refactoring | |
505 | 8 | |a Replace Calculation with Temporary VariableExtract Conditional to Method; The DRY principle; Single Responsibility Principle; Extract Class; Move Method to Class; The importance of tests; Exercise; Wrapping up; Summary; Chapter 4: Using Mock Objects to Test Interactions; Hand writing a simple mock; Using the Python mocking framework; Mocking objects; Mocking return values; Mocking side effects; How much mocking is too much?; Mocks versus stubs versus fakes versus spies; Patching methods; An important gotcha when patching; Tying it all together; Summary; Chapter 5: Working with Legacy Code | |
505 | 8 | |a What is legacy code?Understanding the code; What are characterization tests?; Using the Python interactive shell to understand the code; Writing a characterization test; Using pdb to understand the code; Some common pdb commands; Walking through a pdb session; Techniques to break dependencies; The Rope refactoring library; Separate initialization from execution; Use default values for parameters; Extract the method and test; Inject dependencies; Inherit and test; Stubbing local methods; Extract the method and stub; The cycle continues; Time to refactor; Long-term refactoring; Summary | |
505 | 8 | |a Chapter 6: Maintaining Your Test SuiteGoals of test maintenance; Organizing tests; Filesystem layout; Naming conventions; Test suite grouping; Making tests readable; Using docstrings; Using fixtures; Fixtures and patching; Using a custom test case class hierarchy; Writing tests closer to the domain; Writing helper methods; Writing better asserts; Using custom equality checkers; Using matchers; Summary; Chapter 7: Executable Documentation with doctest; Our first doctest; Running the doctest; Test failures; Testing for exceptions; Package-level doctests; Maintaining doctests | |
546 | |a English. | ||
590 | |a eBooks on EBSCOhost |b EBSCO eBook Subscription Academic Collection - Worldwide | ||
590 | |a O'Reilly |b O'Reilly Online Learning: Academic/Public Library Edition | ||
650 | 0 | |a Python (Computer program language) | |
650 | 0 | |a Application software |x Development. | |
650 | 0 | |a Application software |x Testing. | |
650 | 0 | |a Computer software |x Testing. | |
650 | 6 | |a Python (Langage de programmation) | |
650 | 6 | |a Logiciels d'application |x Développement. | |
650 | 7 | |a COMPUTERS |x Computer Literacy. |2 bisacsh | |
650 | 7 | |a COMPUTERS |x Computer Science. |2 bisacsh | |
650 | 7 | |a COMPUTERS |x Data Processing. |2 bisacsh | |
650 | 7 | |a COMPUTERS |x Hardware |x General. |2 bisacsh | |
650 | 7 | |a COMPUTERS |x Information Technology. |2 bisacsh | |
650 | 7 | |a COMPUTERS |x Machine Theory. |2 bisacsh | |
650 | 7 | |a COMPUTERS |x Reference. |2 bisacsh | |
650 | 7 | |a Application software |x Development |2 fast | |
650 | 7 | |a Application software |x Testing |2 fast | |
650 | 7 | |a Computer software |x Testing |2 fast | |
650 | 7 | |a Python (Computer program language) |2 fast | |
776 | 0 | 8 | |i Print version: |a Govindaraj, Siddharta. |t Test-driven python development : develop high-quality and maintainable Python applications using the principles of test-driven development. |d Birmingham, [England] : Packt Publishing, ©2015 |h xi, 239 pages |k Community experience distilled. |z 9781783987924 |
830 | 0 | |a Community experience distilled. | |
856 | 4 | 0 | |u https://ebsco.uam.elogim.com/login.aspx?direct=true&scope=site&db=nlebk&AN=986718 |z Texto completo |
856 | 4 | 0 | |u https://learning.oreilly.com/library/view/~/9781783987924/?ar |z Texto completo |
938 | |a Askews and Holts Library Services |b ASKH |n AH28572300 | ||
938 | |a EBL - Ebook Library |b EBLB |n EBL2039888 | ||
938 | |a ebrary |b EBRY |n ebr11050804 | ||
938 | |a EBSCOhost |b EBSC |n 986718 | ||
938 | |a ProQuest MyiLibrary Digital eBook Collection |b IDEB |n cis31515392 | ||
938 | |a YBP Library Services |b YANK |n 12407212 | ||
994 | |a 92 |b IZTAP |