Сергій Бондаренко — Тестування Drupal сайтiв з допогою...

Post on 29-Jan-2018

206 views 6 download

Transcript of Сергій Бондаренко — Тестування Drupal сайтiв з допогою...

TqExtension

Practices

Sergei Bondarenko1. https://github.com/BR0kEN-2. https://github.com/BR0kEN-/TqExtension3. https://www.drupal.org/u/BR0kEN4. sergei.bondarenko@ffwagency.com

2

Lviv Drupal Camp, October 17-18, 2015

You may want to touch it now!

1. Presentation from Kyiv Drupal Camp 2015

2. Vagrant Box with TqExtension

Clone, vagrant up and go!

3

What's changed since last time?

1. Added an API for describing WYSIWYG objects for

testing.

2. Added possibility to pass argument (UID|email|name)

for “I login with one time link (admin)” step.

3. And, as usual, something been fixed and improved :)

4

What else you didn't tell?

1. Arguments transformation.

2. Grouping scenarios and run by tags.

3. Hooking into the process using tags.

4. Selenium Grid.

5

Arguments transformation

6

Grouping scenarios

7

Selenium Grid

8

Vagrant boxI've created a Vagrant box specially for this event. CIBOX-based, ready to use VM

with provision scripts for running Selenium* and Behat tests.

./scripts/ansible.sh tests [--tags="@tag1&&~@tag2"] [--format="html"] [--kill-selenium]

* selenium will be run locally.

https://github.com/BR0kEN-/lviv-tqextension

9