Learning Yii Testing Front Cover

Learning Yii Testing

  • Length: 181 pages
  • Edition: 1
  • Publisher:
  • Publication Date: 2015-04-30
  • ISBN-10: 1784392278
  • ISBN-13: 9781784392277
  • Sales Rank: #5512746 (See Top 100 Books)
Description

Embrace 360-degree testing on your Yii 2 projects using Codeception

About This Book

  • Learn all about testing with an in-depth analysis of software architecture and modern testing technologies.
  • Boost your testing knowledge and apply it to real-world scenarios through practical examples and behind the scenes knowledge
  • Develop your applications using a test-first approach making full use of Codeception and Yii 2.

Who This Book Is For

Developers who have a solid pre-existing knowledge of Yii’s core concepts will find this book an ideal introduction to learning to write tests using Yii 2’s tools. You’ll learn to create faster and more reliable applications with less time and effort.

In Detail

Testing your application often and early is a key consideration in modern web development. PHP developers using the high-performance PHP framework Yii have access to Codeception, a testing suite that provides comprehensive support for unit, functional, and acceptance tests. With Codeception, you will quickly learn how to create fast, stable applications using a test-driven development methodology. Learning Yii Testing embraces a testing-first strategy to guide you in the implementation of all possible types of tests, covering the core features of Yii 2. Starting with the nuts and bolts of testing, you’ll walk through Yii 2’s new functionality and improvements and learn how to begin testing with it. You’ll explore the world of Codeception and gain insights into key topics such as testing in isolation and component integration tests.

You’ll also learn to analyze testing information and improve the quality of your code. At the end of the book, you will be able to use automation tools to reduce your testing workload.

Table of Contents

Chapter 1: The Testing Mindset
Chapter 2: Tooling up for Testing
Chapter 3: Entering Codeception
Chapter 4: Isolated Component Testing with PHPUnit
Chapter 5: Summoning the Test Doubles
Chapter 6: Testing the API – PHPBrowser to the Rescue
Chapter 7: Having Fun Doing Browser Testing
Chapter 8: Analyzing Testing Information
Chapter 9: Eliminating Stress with the Help of Automation

To access the link, solve the captcha.