ورود به حساب

نام کاربری گذرواژه

گذرواژه را فراموش کردید؟ کلیک کنید

حساب کاربری ندارید؟ ساخت حساب

ساخت حساب کاربری

نام نام کاربری ایمیل شماره موبایل گذرواژه

برای ارتباط با ما می توانید از طریق شماره موبایل زیر از طریق تماس و پیامک با ما در ارتباط باشید


09117307688
09117179751

در صورت عدم پاسخ گویی از طریق پیامک با پشتیبان در ارتباط باشید

دسترسی نامحدود

برای کاربرانی که ثبت نام کرده اند

ضمانت بازگشت وجه

درصورت عدم همخوانی توضیحات با کتاب

پشتیبانی

از ساعت 7 صبح تا 10 شب

دانلود کتاب Crafting Test-Driven Software with Python: Write test suites that scale with your applications needs and complexity, using Python and PyTest

دانلود کتاب ساختن نرم افزار تست محور با پایتون: مجموعه های آزمایشی را بنویسید که با نیازها و پیچیدگی برنامه های شما مطابقت داشته باشد، با استفاده از Python و PyTest

Crafting Test-Driven Software with Python: Write test suites that scale with your applications needs and complexity, using Python and PyTest

مشخصات کتاب

Crafting Test-Driven Software with Python: Write test suites that scale with your applications needs and complexity, using Python and PyTest

دسته بندی: Programming: Libraries API
ویرایش: 1 
نویسندگان:   
سری:  
ISBN (شابک) : 183864265X, 9781838642655 
ناشر: Packt Publishing 
سال نشر: 2021 
تعداد صفحات: 323 
زبان: English 
فرمت فایل : PDF (درصورت درخواست کاربر به PDF، EPUB یا AZW3 تبدیل می شود) 
حجم فایل: 4 مگابایت 

قیمت کتاب (تومان) : 49,000



کلمات کلیدی مربوط به کتاب ساختن نرم افزار تست محور با پایتون: مجموعه های آزمایشی را بنویسید که با نیازها و پیچیدگی برنامه های شما مطابقت داشته باشد، با استفاده از Python و PyTest: Python، Unit Testing، Django، Automation، PyTest، Testing، WebTest، Tox، Pyramid، Test-Driven Development، Trophy، Robot Framework



ثبت امتیاز به این کتاب

میانگین امتیاز به این کتاب :
       تعداد امتیاز دهندگان : 14


در صورت تبدیل فایل کتاب Crafting Test-Driven Software with Python: Write test suites that scale with your applications needs and complexity, using Python and PyTest به فرمت های PDF، EPUB، AZW3، MOBI و یا DJVU می توانید به پشتیبان اطلاع دهید تا فایل مورد نظر را تبدیل نمایند.

توجه داشته باشید کتاب ساختن نرم افزار تست محور با پایتون: مجموعه های آزمایشی را بنویسید که با نیازها و پیچیدگی برنامه های شما مطابقت داشته باشد، با استفاده از Python و PyTest نسخه زبان اصلی می باشد و کتاب ترجمه شده به فارسی نمی باشد. وبسایت اینترنشنال لایبرری ارائه دهنده کتاب های زبان اصلی می باشد و هیچ گونه کتاب ترجمه شده یا نوشته شده به فارسی را ارائه نمی دهد.


توضیحاتی در مورد کتاب ساختن نرم افزار تست محور با پایتون: مجموعه های آزمایشی را بنویسید که با نیازها و پیچیدگی برنامه های شما مطابقت داشته باشد، با استفاده از Python و PyTest

با مفاهیم ضروری و توضیحات گام به گام آشنا شوید تا از تمرینات TDD در پروژه های پایتون خود استفاده کنید و در عین حال مجموعه آزمایشی خود را تحت کنترل داشته باشید. ویژگی های کلیدی • ساخت برنامه های کاربردی پایتون قوی با استفاده از متدولوژی های TDD و BDD • برنامه های کاربردی وب پایتون را با استفاده از WebTest و چارچوب های وب آزمایش کنید • از PyTest برای پیاده سازی مکانیسم های تست دقیق برای اطمینان از برنامه های کاربردی مقاوم به خطا استفاده کنید توضیحات کتاب توسعه تست محور (TDD) مجموعه ای از بهترین روش ها است که به توسعه دهندگان کمک می کند تا نرم افزارهای مقیاس پذیرتر بسازند و برای افزایش استحکام نرم افزار با استفاده از تست های خودکار استفاده می شود. این کتاب به شما نشان می دهد که چگونه از روش های TDD به طور موثر در پروژه های پایتون استفاده کنید. قبل از پوشش دادن چارچوب‌های غنی مانند PyTest و کتابخانه‌های مبتنی بر وب مانند WebTest و Robot، با یادگیری در مورد تست‌های واحد داخلی و Mocks شروع می‌کنید و متوجه می‌شوید که چگونه پایتون به شما اجازه می‌دهد تا همه روش‌های تست مدرن را به آسانی بپذیرید. در ادامه، خواهید فهمید که چگونه تست‌ها را طراحی کنید و آنها را با توسعه ویژگی‌های جدید متعادل کنید و نحوه ایجاد یک مجموعه آزمایشی کامل با PyTest را کشف خواهید کرد. این کتاب به شما کمک می‌کند یک رویکرد عملی برای اجرای TDD و متدولوژی‌های مرتبط اتخاذ کنید که شما را راه‌اندازی می‌کند و در کمترین زمان شما را بهره‌ورتر می‌کند. با کمک توضیحات گام به گام مفاهیم اساسی و مثال‌های عملی، تست‌های خودکار و بهترین روش‌های TDD را بررسی می‌کنید و با روش‌ها و ابزارهای موجود در پایتون برای ایجاد برنامه‌های کاربردی مؤثر و قوی آشنا می‌شوید. تا پایان این کتاب پایتون، می‌توانید مجموعه‌های آزمایشی قابل اعتمادی را در پایتون بنویسید تا از انعطاف‌پذیری طولانی‌مدت برنامه خود اطمینان حاصل کنید و در عین حال در مورد طیف وسیعی از کتابخانه‌های ارائه شده توسط پایتون برای آزمایش و توسعه اطلاعات کسب کنید. آنچه خواهید آموخت • بیابید که چگونه آزمایش ها می توانند زندگی شما را به عنوان یک توسعه دهنده آسان تر کنند و بهترین شیوه های مرتبط را کشف کنید • PyTest را کاوش کرده و بیاموزید، گسترده ترین چارچوب تست پایتون • با متداول ترین افزونه های PyTest، از جمله coverage، flaky، xdist و picked آشنا شوید • تست های کاربردی را برای برنامه های کاربردی وب WSGI با WebTest بنویسید • تست های سرتاسری را برای برنامه های کاربردی وب با استفاده از چارچوب Robot اجرا کنید • درک کنید که توسعه آزمایش محور به چه معناست و چرا اهمیت دارد • نحوه استفاده از طیف وسیعی از ابزارهای موجود در پایتون را کشف کنید • برنامه های کاربردی قابل اعتماد و قوی بسازید این کتاب برای چه کسی است این کتاب برای توسعه دهندگان پایتون است که به دنبال توسعه آزمایش محور هستند و توسعه دهندگانی که می خواهند در مورد ابزارهای تست موجود در پایتون بیاموزند. توسعه دهندگانی که می خواهند برنامه های کاربردی وب را با پایتون ایجاد کنند و قصد دارند متدولوژی TDD را با PyTest پیاده سازی کنند، این کتاب مفید خواهد بود. دانش اولیه برنامه نویسی پایتون مورد نیاز است.


توضیحاتی درمورد کتاب به خارجی

Get to grips with essential concepts and step-by-step explanations to apply TDD practices to your Python projects while keeping your test suite under control Key Features • Build robust Python applications using TDD and BDD methodologies • Test Python web applications using WebTest and web frameworks • Leverage PyTest to implement stringent testing mechanisms to ensure fault-tolerant applications Book Description Test-driven development (TDD) is a set of best practices that helps developers to build more scalable software, and is used to increase the robustness of software by using automatic tests. This book shows you how to apply TDD practices efficiently in Python projects. You'll begin by learning about built-in unit tests and Mocks before covering rich frameworks like PyTest and web-based libraries such as WebTest and Robot, and understand how Python allows you to embrace all modern testing practices with ease. Moving on, you'll find out how to design tests and balance them with new feature development and discover how to create a complete test suite with PyTest. The book helps you adopt a hands-on approach to implementing TDD and associated methodologies that will have you up and running and make you more productive in no time. With the help of step-by-step explanations of essential concepts and practical examples, you'll explore automatic tests and TDD best practices and get to grips with the methodologies and tools available in Python for creating effective and robust applications. By the end of this Python book, you will be able to write reliable test suites in Python to ensure the long-term resilience of your application while learning about the range of libraries offered by Python for testing and development. What you will learn • Find out how tests can make your life easier as a developer and discover related best practices • Explore and learn PyTest, the most widespread testing framework for Python • Get to grips with the most common PyTest plugins, including coverage, flaky, xdist, and picked • Write functional tests for WSGI web applications with WebTest • Run end-to-end tests for web applications using the Robot framework • Understand what test-driven development means and why it is important • Discover how to use the range of tools available in Python • Build reliable and robust applications Who This Book Is For This book is for Python developers looking to get started with test-driven development and developers who want to learn about the testing tools available in Python. Developers who want to create web applications with Python and plan to implement TDD methodology with PyTest will find this book useful. Basic knowledge of Python programming is required.



فهرست مطالب

Cover
Title Page
Copyright and Credits
Dedication
Contributors
Table of Contents
Preface
Section 1: Software Testing and Test-Driven Development
Chapter 1: Getting Started with Software Testing
	Technical requirements
	Introducing software testing and quality control
		Test plans
	Introducing automatic tests and test suites
		Multiple test cases
		Organizing tests
	Introducing test-driven development and unit tests
		Test-driven development
		Test units
	Understanding integration and functional tests
		Integration tests
		Functional tests
	Understanding the testing pyramid and trophy
		The testing pyramid
		The testing trophy
		Testing distribution and coverage
	Summary
Chapter 2: Test Doubles with a Chat Application
	Technical requirements
	Introducing test doubles
	Starting our chat application with TDD
	Using dummy objects
	Replacing components with stubs
	Checking behaviors with spies
	Using mocks
	Replacing dependencies with fakes
	Understanding acceptance tests and doubles
	Managing dependencies with dependency injection
		Using dependency injection frameworks
	Summary
Chapter 3: Test-Driven Development while Creating a TODO List
	Technical requirements
	Starting projects with TDD
	Building applications the TDD way
	Preventing regressions
	Summary
Chapter 4: Scaling the Test Suite
	Technical requirements
	Scaling tests
		Moving from e2e to functional
	Working with multiple suites
		Compile suite
		Commit tests
		Smoke tests
	Carrying out performance testing
	Enabling continuous integration
		Performance testing in the cloud
	Summary
Section 2: PyTest for Python Testing
Chapter 5: Introduction to PyTest
	Technical requirements
	Running tests with PyTest
	Writing PyTest fixtures
		Using fixtures for dependency injection
	Managing temporary data with tmp_path
	Testing I/O with capsys
	Running subsets of the testsuite
	Summary
Chapter 6: Dynamic and Parametric Tests and Fixtures
	Technical requirements
	Configuring the test suite
	Generating fixtures
	Generating tests with parametric tests
	Summary
Chapter 7: Fitness Function with a Contact Book Application
	Technical requirements
	Writing acceptance tests
		Writing the first test
		Getting feedback from the product team
		Making the test pass
	Using behavior-driven development
		Defining a feature file
		Declaring the scenario
		Running the scenario test
		Further setup with the And step
		Performing actions with the When step
		Assessing conditions with the Then step
		Making the scenario pass
	Embracing specifications by example
	Summary
Chapter 8: PyTest Essential Plugins
	Technical requirements
	Using pytest-cov for coverage reporting
		Coverage as a service
	Using pytest-benchmark for benchmarking
		Comparing benchmark runs
	Using flaky to rerun unstable tests
	Using pytest-testmon to rerun tests on code changes
	Running tests in parallel with pytest-xdist
	Summary
Chapter 9: Managing Test Environments with Tox
	Technical requirements
	Introducing Tox
	Testing multiple Python versions with Tox
		Using environments for more than Python versions
	Using Tox with Travis
	Summary
Chapter 10: Testing Documentation and Property-Based Testing
	Technical requirements
	Testing documentation
		Adding a code-based reference
		Writing a verified user guide
	Property-based testing
		Generating tests for common properties
	Summary
Section 3: Testing for the Web
Chapter 11: Testing for the Web: WSGI versus HTTP
	Technical requirements
	Testing HTTP
		Testing HTTP clients
	Testing WSGI with WebTest
	Using WebTest with web frameworks
	Writing Django tests with Django's test client
		Testing Django projects with pytest
		Testing Django projects with Django's test client
	Summary
Chapter 12: End-to-End Testing with the Robot Framework
	Technical requirements
	Introducing the Robot Framework
	Testing with web browsers
		Recording the execution of tests
		Testing with headless browsers
		Testing multiple browsers
	Extending the Robot Framework
		Adding custom keywords
		Extending Robot from Python
	Summary
About Packt
Other Books You May Enjoy
Index




نظرات کاربران