Testing with Drupal 8 made easy!
Ever been in a situation where just a change in a line of code breaks up the functionality? Or implementing new functionality results in regression? You are trying to deliver a quality product but the end result is a defected product.
We all make mistakes, few are unimportant but some are really very expensive.
The session will start with the brief introduction to testing followed by testing methodologies Drupal 8 supports. Simpletest module (part of Drupal 8 core) supports WebTest cases(DrupalWebTestCase) and PHPUnit test cases(DrupalUnitTestCase).
The main objective of the session is to point out the differences between the two types of test cases and how both of them are significant for the product and what happens in the background on running both the test cases.
We will also be learning the rudiments of the test cases and see how WebTest cases are written for testing the functionality and PHPUnit test cases are written testing every piece of code.This will be followed by a quick demo which will show a written test case and its result.
By end of the session,developers will be able to write the test cases and add more value to the product they are building.