"The dog ate my homework", No more excuse to test your modules!

jyoti.singh

“We don’t have time to write tests!”

“I don’t know how to write unit tests!

You must have used this or heard it often but is it literal or another excuse ?

Do you think testing may cost you in term of time? But studies show that the later you catch a bug during development cycle the more costly it is to fix it.

One of the most typical debate about unit tests is that they slow you down as we have to write additional code and may also need to fix the broken tests.Can you correlate to this? If yes, a “Good” unit tests is always faster than repetitive manual tests.

There is long list of dissensions and so are the excuses.The session will discuss how can we commence writing test codes and where it can be practically befitted.The session will provide you a walkthrough of the multiple ways to test your code in Drupal 8 and to convert test code to use PHPUnit  and deprecate SimpleTest.

Objective of the session :

  • Understand Unit Testing

  • Characteristics of good unit tests

  • Why developers don’t write test cases

  • Different type of Tests : Kernel Tests, Functional Tests,Behavioral Tests

  • How to write good Test cases

  • Workable Demo

Program tags

automation, back end development, testing

Experience Level

Beginner

Drupal Version