Being a developer with the heart of a tester!

prachi.nagpal

If you don’t like testing your product, most likely your customers won’t like to test it either.

Testing is important for the success of any project. Adopting Test Driven Development is a way to ensure smooth functioning of a project and the best way to avoid technical debts. 

The key question is how to choose the right tools for a project. Drupal 8 comes with very useful capabilities in Automation Testing. Also it can integrate well with tools like Behat and Codeception, to ensure end-to-end acceptance testing. This session will cover each aspect of automation testing and how to effectively use it for successful Test Driven Development.

Key items of the session will be:
  • Introduction
    • Core concepts of automation testing
    • What is TDD and BDD
    • When to write test and why
    • Best practices of writing tests
  • Components of testing
    • UnitTesting
    • Functional Testing
    • Behavioural Testing
  • Unit Testing
    • What is PHPUnit
    • Core Classes and Components
    • Running PHPUnit tests.
  • Functional testing
    • WebTest and KernalTest in Drupal 8 
    • When to use WebTest and KernalTest
    • Core Classes and Components
    • How run these tests
  • Behavioural testing
    • Introduction to Behat and Codeception
    • Integration of Behat with Drupal 8 (Drupal Extension Drivers for Behat)
    • Concepts of Behat
    • Associated tools (Selenium, PhantomJS)
    • Running Behat tests.
Who should attend this:
  • Developers
  • Testers
  • Drupal enthusiasts and professionals
Prerequisites:
  • Familiarity with Drupal development, D7 preferably D8

 

Session Track

Coding and Development

Experience Level

Intermediate

Drupal Version