Регистрация ·  Логин: Пароль: Запомнить   · Забыли пароль?




Ответить на тему
Автор Сообщение

Модератор
Аватара пользователя

С нами: 11 лет
Сообщения: 7870
Молдова

Сообщение 11 янв 2016, 21:29 

[Цитировать]

Learning Yii Testing


Год издания: 2015
Автор: Matteo Pescarin

Издательство: Packt Publishing
ISBN: 9781784392277
Язык: Английский

Формат: PDF/ePub/MOBI
Качество: Изначально компьютерное (eBook)
Интерактивное оглавление: Да

Описание: 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.
1: The Testing Mindset
Understanding the importance of testing
Involving project management
Obtaining the testing mindset
Summary

2: Tooling up for Testing
Downloading and installing Yii 2
Environment and workflow
Introducing Composer
Finding your way around Yii 2
Structure of the default web application
Defining our working strategy
Introducing testing for our purposes
Summary

3: Entering Codeception
Getting started with Codeception
Installing Codeception in Yii 2
Interacting with Codeception
Summary

4: Isolated Component Testing with PHPUnit
Understanding the work to be done
Using the User model
Implementing the first unit test
Component testing of the model
Implementing the ActiveRecord class and its methods
Seeing tests pass
Summary

5: Summoning the Test Doubles
Dealing with external dependencies
Isolating components with stubs
Listening for calls with an observer
Writing maintainable unit tests
Summary

6: Testing the API – PHPBrowser to the Rescue
Functional tests in Yii 2
Functional tests for REST interfaces
Creating a RESTful web service with Yii 2
Summary

7: Having Fun Doing Browser Testing
Introducing Selenium WebDriver
Creating acceptance tests
Summary

8: Analyzing Testing Information
Improving the quality of your tests
Improving our code with the aid of additional tools
Summary

9: Eliminating Stress with the Help of Automation
Automating the build process
Creating the required build files
Configuring the Jenkins build
Going forward
Summary
Download
Для скачивания .torrent файлов необходима регистрация
Сайт не распространяет и не хранит электронные версии произведений, а лишь предоставляет доступ к создаваемому пользователями каталогу ссылок на торрент-файлы, которые содержат только списки хеш-сумм

Страница 1 из 1

Ответить на тему

   Похожие торренты   Торрент