Testing in PHP

PHP Testing

Introduction to web application testing in PHP

Lesson 1 - Introduction to web application testing in PHP

The tutorial explains why it's necessary to test software and why it needs to be done by a machine. Describes the basic test types, introduces the v-model.
FreeUnratedWritten by David Capka
Introduction to unit tests in PHP and PHPUnit installation

Lesson 2 - Introduction to unit tests in PHP and PHPUnit installation

In the tutorial, we'll install the Codeception test framework for PHP and generate our first unit test for PHPUnit.
FreeUnratedWritten by David Capka
PHP Testing - Finishing Unit Tests

Lesson 3 - PHP Testing - Finishing Unit Tests

In a PHP tutorial, we'll cover a simple class with tests and run them. We'll learn individual assert methods and test exceptions.
FreeUnratedWritten by David Capka
PHPUnit DataProvider and BestPractices

Lesson 4 - PHPUnit DataProvider and BestPractices

In the tutorial, we'll learn to use the @dataProvider annotation, test private and protected methods, and mention best practices for PHP testing.
Premium IIIUnratedWritten by David Capka
PHP Testing - Xdebug and coverage reports

Lesson 5 - PHP Testing - Xdebug and coverage reports

We'll learn to debug PHP applications at runtime using Xdebug and configure it in this tutorial. We'll generate test coverage and code quality reports.
Premium IIIUnratedWritten by David Capka
Dependency Injection and Test doubles

Lesson 6 - Dependency Injection and Test doubles

In the tutorial, we'll explain the Dependency Injection design pattern and introduce the test doubles - Dummy, Fake, Stub, Spy and, of course, Mock.
Premium IIIUnratedWritten by David Capka
MockBuilder and mock / stub methods

Lesson 7 - MockBuilder and mock / stub methods

In this tutorial, we'll proceed to different implementations of mock objects and stub / mock methods in PHPUnit.
Premium IIIUnratedWritten by David Capka
Fake, Codeception Stub and AspectMock

Lesson 8 - Fake, Codeception Stub and AspectMock

In this tutorial, we'll learn to change stub's implementation using the Fake test double, introduce the Codeception PHPunit wrapper, and AspectMock.
Premium IIIUnratedWritten by David Capka
Unit Tests of Commercial Applications I

Lesson 9 - Unit Tests of Commercial Applications I

In this tutorial, we'll test the date and time in PHP using PHPUnit to simulate its changes and test how libraries response to them.
Premium IIIUnratedWritten by David Capka
Unit tests of Commercial Applications II

Lesson 10 - Unit tests of Commercial Applications II

In the tutorial, we'll test random value generators, show a database wrapper test, and test multiple exceptions through anonymous functions.
Premium IIIUnratedWritten by David Capka
Unit tests of Commercial Applications III

Lesson 11 - Unit tests of Commercial Applications III

In this tutorial, we'll learn how to submit forms using PHPUnit, including simulating file uploads. We'll show you how to assert images with tolerance.
Premium IIIUnratedWritten by David Capka
Introduction to acceptance tests in PHP and creating GUI

Lesson 12 - Introduction to acceptance tests in PHP and creating GUI

In this tutorial, we'll begin an introduction to acceptance testing in PHP (clicking through our app automatically) and create a form for our class.
PremiumUnratedWritten by David Capka
PHP testing - Creating Selenium acceptance tests

Lesson 13 - PHP testing - Creating Selenium acceptance tests

In this tutorial, we'll cover a simple calculator in PHP with acceptance tests in the Codeception framework and run them using the Selenium server.
Premium IIIUnratedWritten by David Capka
PhpBrowser vs. WebDriver and Selenium server configuration

Lesson 14 - PhpBrowser vs. WebDriver and Selenium server configuration

In the tutorial, we'll run acceptance tests for a web application programmed in PHP on PhpBrowser and WebDriver via the Selenium server which we configure.
Premium IIIUnratedWritten by David Capka
PHP Testing - Selenium WebDriver syntax overview

Lesson 15 - PHP Testing - Selenium WebDriver syntax overview

The tutorial details the Selenium WebDriver syntax of the Codeception test framework. Assertions, comments, grabbers, waiting, browser control.
Premium IIIUnratedWritten by David Capka
PHP Testing - More Selenium WebDriver Syntax

Lesson 16 - PHP Testing - More Selenium WebDriver Syntax

This tutorial details the Selenium WebDriver syntax of the Codeception PHP framework. Controlling the browser, forms, sessions, and multiuser testing.
Premium IIIUnratedWritten by David Capka


 

Activities (2)