Learning Yii Testing
暫譯: 學習 Yii 測試

Matteo Pescarin

  • 出版商: Packt Publishing
  • 出版日期: 2015-04-30
  • 售價: $1,740
  • 貴賓價: 9.5$1,653
  • 語言: 英文
  • 頁數: 181
  • 裝訂: Paperback
  • ISBN: 1784392278
  • ISBN-13: 9781784392277
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

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.

What You Will Learn

  • Understand what testing is, why you need it, and what it encompasses
  • Explore testing using all the features and improvements made available with Yii 2
  • Embrace the Codeception testing framework and exploit its potential
  • Carefully manage the scope of tests according to the application you're writing
  • Write PHPUnit tests using the full range of its capabilities
  • Script functional tests and test REST interfaces
  • Write acceptance tests and make the best use of existing frameworks such as Selenium
  • Discover how to abstract the knowledge you've learned and apply it to any situation

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.

商品描述(中文翻譯)

**擁抱在您的 Yii 2 專案中使用 Codeception 進行 360 度測試**

## 本書介紹
- 深入分析軟體架構和現代測試技術,全面了解測試。
- 通過實際範例和幕後知識提升您的測試知識,並將其應用於現實場景。
- 使用測試優先的方法開發您的應用程式,充分利用 Codeception 和 Yii 2。

## 本書適合誰
對 Yii 核心概念有扎實基礎知識的開發者會發現這本書是學習使用 Yii 2 工具編寫測試的理想入門書籍。您將學會如何以更少的時間和精力創建更快、更可靠的應用程式。

## 您將學到什麼
- 了解什麼是測試、為什麼需要測試以及測試的範疇。
- 探索使用 Yii 2 提供的所有功能和改進進行測試。
- 擁抱 Codeception 測試框架並發揮其潛力。
- 根據您正在編寫的應用程式仔細管理測試範圍。
- 使用 PHPUnit 測試編寫其全部功能範圍的測試。
- 編寫功能測試並測試 REST 介面。
- 編寫驗收測試,並充分利用現有框架如 Selenium。
- 發現如何抽象您所學的知識並應用於任何情況。

## 詳細內容
在現代網頁開發中,經常且及早地測試您的應用程式是一個關鍵考量。使用高效能 PHP 框架 Yii 的 PHP 開發者可以使用 Codeception,這是一個提供單元測試、功能測試和驗收測試全面支持的測試套件。使用 Codeception,您將快速學會如何使用測試驅動開發方法創建快速、穩定的應用程式。《Yii 測試學習》採用測試優先策略,指導您實施所有可能類型的測試,涵蓋 Yii 2 的核心功能。從測試的基本概念開始,您將了解 Yii 2 的新功能和改進,並學會如何開始進行測試。您將探索 Codeception 的世界,並深入了解關鍵主題,如隔離測試和組件整合測試。

您還將學會分析測試資訊並提高代碼質量。在本書結束時,您將能夠使用自動化工具來減少測試工作量。

最後瀏覽商品 (20)