September 13, 2017
Developing news: on this day in 1898, Hannibal Goodwin patented celluloid photographic film.
Python news: Do less work when testing your Python code, but be just as expressive, just as elegant, and just as readable, with Python Testing with pytest: Simple, Rapid, Effective, and Scalable, now in print and shipping from pragprog.com/book/bopytest.
Come and get it!
Python Testing with pytest: Simple, Rapid, Effective, and Scalable
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.
Now in print and shipping from pragprog.com/book/bopytest.
Upcoming Author Appearances
Don't Get Left Out
Are your friends jealous that you get these spiffy email newsletters and they don't? Clue them in that all they need to do is create an account on pragprog.com (email address and password is all it takes) and select the checkbox to receive newsletters.
Are you following us on Twitter and/or Facebook? Here's where you can find us and keep up with the latest news and commentary, and occasional discounts:
Tell your friends! Tweet this
- Adopting Elixir: From Concept to Production
- Liftoff (audio book)
- Programming Crystal: Fast as C, Slick as Ruby
- Complex Network Analysis in Python
- Craft GraphQL APIs in Elixir with Absinthe
- React for Real
- Effective Testing with RSpec 3
- Release It! Second Edition
Thanks for your continued support,
Publisher, Pragmatic Bookshelf
Books • eBooks • PragPub Magazine • Audiobooks and Screencasts