Cargando…

Python testing with Pytest : simple, rapid, effective, and scalable /

Do less work when testing your Python code, but be just as expressive, just as elegant, and just as readable. The pytest testing framework helps you write tests quickly and keep them readable and maintainable - with no boilerplate code. Using a robust yet simple fixture model, it's just as easy...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Okken, Brian (Autor)
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Raleigh, North Carolina : Pragmatic Bookshelf, 2017.
Edición:Version: P1.0 (September 2017).
Colección:Pragmatic programmers.
Temas:
Acceso en línea:Texto completo (Requiere registro previo con correo institucional)

MARC

LEADER 00000cam a2200000 i 4500
001 OR_on1014021663
003 OCoLC
005 20231017213018.0
006 m o d
007 cr unu||||||||
008 171206s2017 ncu o 000 0 eng d
040 |a UMI  |b eng  |e rda  |e pn  |c UMI  |d STF  |d OCLCF  |d TOH  |d OH1  |d CEF  |d KSU  |d DEBBG  |d G3B  |d UAB  |d RDF  |d OCLCQ  |d DST  |d OCLCO  |d OCLCQ 
020 |a 9781680502848  |q (electronic bk.) 
020 |a 1680502840  |q (electronic bk.) 
020 |z 9781680502404 
029 1 |a GBVCP  |b 1014938155 
035 |a (OCoLC)1014021663 
037 |a CL0500000918  |b Safari Books Online 
050 4 |a QA76.73.P98 
082 0 4 |a 005.14  |2 23 
049 |a UAMI 
100 1 |a Okken, Brian,  |e author 
245 1 0 |a Python testing with Pytest :  |b simple, rapid, effective, and scalable /  |c Brian Okken. 
250 |a Version: P1.0 (September 2017). 
264 1 |a Raleigh, North Carolina :  |b Pragmatic Bookshelf,  |c 2017. 
300 |a 1 online resource (1 volume) 
336 |a text  |b txt  |2 rdacontent 
337 |a computer  |b c  |2 rdamedia 
338 |a online resource  |b cr  |2 rdacarrier 
490 1 |a The pragmatic programmers 
505 0 |a Getting started with Pytest -- Writing test functions -- Pytest fixtures -- Builtin fixtures -- Plugins -- Configuration -- Using pytest with other tools. 
588 0 |a Online resource; title from title page (Safari, viewed December 5, 2017). 
520 |a Do less work when testing your Python code, but be just as expressive, just as elegant, and just as readable. The pytest testing framework helps you write tests quickly and keep them readable and maintainable - with no boilerplate code. Using a robust yet simple fixture model, it's just as easy to write small tests with pytest as it is to scale up to complex functional testing for applications, packages, and libraries. This book shows you how. For Python-based projects, pytest is the undeniable choice to test your code if you're looking for a full-featured, API-independent, flexible, and extensible testing framework. With a full-bodied fixture model that is unmatched in any other tool, the pytest framework gives you powerful features such as assert rewriting and plug-in capability - with no boilerplate code. With simple step-by-step instructions and sample code, this book gets you up to speed quickly on this easy-to-learn and robust tool. Write short, maintainable tests that elegantly express what you're testing. Add powerful testing features and still speed up test times by distributing tests across multiple processors and running tests in parallel. Use the built-in assert statements to reduce false test failures by separating setup and test failures. Test error conditions and corner cases with expected exception testing, and use one test to run many test cases with parameterized testing. Extend pytest with plugins, connect it to continuous integration systems, and use it in tandem with tox, mock, coverage, unittest, and doctest. Write simple, maintainable tests that elegantly express what you're testing and why. What You Need: The examples in this book are written using Python 3.6 and pytest 3.0. However, pytest 3.0 supports Python 2.6, 2.7, and Python 3.3-3.6. 
590 |a O'Reilly  |b O'Reilly Online Learning: Academic/Public Library Edition 
650 0 |a Python (Computer program language) 
650 0 |a Computer software  |x Testing. 
650 0 |a Debugging in computer science. 
650 6 |a Python (Langage de programmation) 
650 6 |a Débogage. 
650 7 |a Computer software  |x Testing.  |2 fast  |0 (OCoLC)fst00872601 
650 7 |a Debugging in computer science.  |2 fast  |0 (OCoLC)fst00888884 
650 7 |a Python (Computer program language)  |2 fast  |0 (OCoLC)fst01084736 
830 0 |a Pragmatic programmers. 
856 4 0 |u https://learning.oreilly.com/library/view/~/9781680502848/?ar  |z Texto completo (Requiere registro previo con correo institucional) 
994 |a 92  |b IZTAP