Learning Python testing : a straightforward and easy approach to testing your Python projects
Daniel Arbuckleقیمت نهایی
- تخفیف زماندار−۹٬۰۰۰ تومان
۹٬۰۰۰ تومان صرفهجویی نسبت به قیمت اصلی
نسخه اصلی و اورجینال
بلافاصله پس از خرید، فایل کتاب روی دستگاه شما آمادهٔ دانلود است.
مشخصات کتاب
- نویسنده
- Daniel Arbuckle
- ناشر
- Packt Publishing
- سال انتشار
- ۲۰۱۴
- فرمت
- زبان
- انگلیسی
- تعداد صفحات
- ۵ صفحه
- حجم فایل
- ۷٫۶ مگابایت
دربارهٔ کتاب
Automated testing is the best way to increase efficiency and decrease the defects of software testing. It takes away much of the effort on your part so that you can find bugs early and easily. The Python unit testing framework makes it easy to write efficient automated test cases in Python. Applications involving many paradigms and styles can be very complicated to test, but with the right tools, testing becomes the simplest part of the development process.
This book starts with a short introduction to testing, and then introduces the doctest tool, both in terms of practicalities and how it fits into the testing environment. From there, the discussion proceeds to unittest.mock and mock objects, and to unittest. Next, Nose is introduced and discussed. Later on, focus turns from the tools themselves toward best practices and disciplines of testing. Finally, the integration of testing with existing build processes and toolchains is covered. By the end of this book, you will know how to use automated testing quickly and easily and in a way that helps catch bugs early and fix them.
Chapter 4: Decoupling Units with unittest.mock; Mock objects in general; Mock objects according to unittest.mock; Standard mock objects; Non-mock attributes; Non-mock return values and raising exceptions; Mocking class or function details; Mocking function or method side effects; Mocking containers and objects with a special behavior; Mock objects for properties and descriptors; Mocking file objects; Replacing real code with mock objects; Mock objects in action; Better PID tests; Patching time.time; Decoupling from the constructor; Summary; Chapter 5: Structured Testing with unittest This book is ideal if you want to learn about the testing disciplines and automated testing tools from a hands-on, conversational guide. You should already know Python and be comfortable with Python 3.کتابهای مشابه
Learning Python testing : a straightforward and easy approach to testing your Python projects
۴۹٬۰۰۰ تومان
Learning Python testing : a straightforward and easy approach to testing your Python projects
۴۹٬۰۰۰ تومان
Learning Python testing : a straightforward and easy approach to testing your Python projects
۴۹٬۰۰۰ تومان
Learning Python testing : a straightforward and easy approach to testing your Python projects
۴۹٬۰۰۰ تومان
Python testing : beginner's guide : an easy and convenient approach to testing your Python projects
۴۹٬۰۰۰ تومان
Python testing : beginner's guide : an easy and convenient approach to testing your Python projects
۴۹٬۰۰۰ تومان
Python Testing : An easy and convenient approach to testing your powerful Python projects: Beginner's Guide
۴۹٬۰۰۰ تومان
Python Testing : An easy and convenient approach to testing your powerful Python projects: Beginner's Guide
۴۹٬۰۰۰ تومان
Python Testing : An easy and convenient approach to testing your powerful Python projects: Beginner's Guide
۴۹٬۰۰۰ تومان
Python Testing Cookbook.: Easy solutions to test your Python projects using test-driven development and Selenium, 2nd Edition
۴۹٬۰۰۰ تومان
Python Testing Cookbook.: Easy solutions to test your Python projects using test-driven development and Selenium, 2nd Edition
۴۹٬۰۰۰ تومان
Thoughtful Machine Learning with Python : A Test-Driven Approach
۴۹٬۰۰۰ تومان
قیمت نهایی
۴۰٬۰۰۰ تومان
