Cargando…

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

Test applications, packages, and libraries large and small with pytest, Python's most powerful testing framework. pytest helps you write tests quickly and keep them readable and maintainable. In this fully revised edition, explore pytest's superpowers - simple asserts, fixtures, parametriz...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Okken, Brian (Autor)
Otros Autores: Dvorak, Katharine (Editor )
Formato: Electrónico eBook
Idioma:Inglés
Publicado: [Raleigh, North Carolina] : Pragmatic Bookshelf, [2022]
Edición:Second edition.
Colección:Pragmatic programmers.
Temas:
Acceso en línea:Texto completo (Requiere registro previo con correo institucional)

MARC

LEADER 00000cam a22000007i 4500
001 OR_on1310487758
003 OCoLC
005 20231017213018.0
006 m o d
007 cr cnu|||unuuu
008 220412s2022 ncua o 000 0 eng d
040 |a ORMDA  |b eng  |e rda  |e pn  |c ORMDA  |d OCLCO  |d OCLCF  |d OCLCQ  |d OCLCO 
020 |a 9781680509427  |q (electronic bk.) 
020 |a 168050942X  |q (electronic bk.) 
029 1 |a AU@  |b 000071968669 
035 |a (OCoLC)1310487758 
037 |a 9781680509427  |b O'Reilly Media 
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 by Brian Okken ; edited by Katharine Dvorak. 
250 |a Second edition. 
264 1 |a [Raleigh, North Carolina] :  |b Pragmatic Bookshelf,  |c [2022] 
300 |a 1 online resource (274 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 
490 1 |a The pragmatic programmers 
520 |a Test applications, packages, and libraries large and small with pytest, Python's most powerful testing framework. pytest helps you write tests quickly and keep them readable and maintainable. In this fully revised edition, explore pytest's superpowers - simple asserts, fixtures, parametrization, markers, and plugins - while creating simple tests and test suites against a small database application. 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. This book shows you how. pytest is undeniably the best choice for testing Python projects. It's a full-featured, flexible, and extensible testing framework. pytest's fixture model allows you to share test data and setup procedures across multiple layers of tests. The pytest framework gives you powerful features such as assert rewriting, parametrization, markers, plugins, parallel test execution, and clear test failure reporting - 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 yet powerful tool. Write short, maintainable tests that elegantly express what you're testing. Speed up test times by distributing tests across multiple processors and running tests in parallel. Use Python's builtin assert statements instead of awkward assert helper functions to make your tests more readable. Move setup code out of tests and into fixtures to separate setup failures from 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, and even existing unittest tests. Write simple, maintainable tests quickly with pytest. 
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 
650 7 |a Debugging in computer science  |2 fast 
650 7 |a Python (Computer program language)  |2 fast 
700 1 |a Dvorak, Katharine,  |e editor. 
830 0 |a Pragmatic programmers. 
856 4 0 |u https://learning.oreilly.com/library/view/~/9781680509427/?ar  |z Texto completo (Requiere registro previo con correo institucional) 
994 |a 92  |b IZTAP