TDD - Run - Refactor - Repeat

Anul
Sabbi0612
Overview

Don’t Strain yourself into the vicious circle of manual development. Get yourself a cup of TDD

TDD- Test Driven Development  is one of the biggest things, that you being a software engineer can do to level up your skill set.

It takes you from a style of manual refreshing testing and looking at things to figure out if something worked to instead validating your software and proving it works the way it is intended.

 

Key Pointers
  • Installation and requirements.

  • Writing our First Unit Test

  • Running our tests independently.

  • Arrange-Act-Assert Pattern

  • General rules to abide by while writing unit tests

  • Refactor our existing tests

  • Filter out test execution

  • Test Doubles(Dummy, Stubbing, Mocking, Exception--based Test.

  • Code coverage in PhpUnit

 

We'll also discuss a problem statement which we'll solve using TDD.

Also, we'll talk about Code coverage reports in PhpUnit, Elements of Coverage Reports like CRAP Index.

 

Pre-Requisites
  • Basic knowledge of Object Oriented PHP.

  • This session invites all, who believe in better development practices.

Program tags

automation, testing

Experience Level

Beginner

Drupal Version