Загрузка...

DCO2019 Start unit testing your code today by alberto567

Unit tests are the fastest, most reliable kinds of tests.

A practical session in which we will demonstrate how to take any PHP code (Drupal or other) and make it unit testable without installing anything on your computer other than Docker. We will look at:

How to organize legacy (i.e. untested) code to make it testable
How PHP traits make testing easier
How to start using PHPUnit immediately without installing it (using only Docker)
How to use stub objects and mock methods
How to unit test Javascript without installing anything other than Docker
How to run your unit tests on a continuous integration environment such as CircleCI
To get the most out of this session, install Docker and make sure the code you want to test is hosted on Github.

The accompanying blog post, blog.dcycle.com/unit goes into all the concepts we'll cover.

Видео DCO2019 Start unit testing your code today by alberto567 канала Drupal Ottawa
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять