Magento 2 Karate Women

Magento 2 Test Driven Development in Action

On February 5, 2016, Magento 2 developer and trainer Vinai Kopp kicked off Mage2Katas, a series of screencasts to see test driven development (TDD) in action which is how Vinai prefers to learn things. They can also be used to just gain insight into aspects of Magento 2 development, even if not following TDD, although this would be foolish knowing the benefits of TDD.

In the latest episode which was released yesterday, Vinai creates the configuration for a new controller action and writes some tests that check it is correct and that would catch potential module conflicts.

Current Episodes

  1. The Skeleton Module Kata
  2. The Plugin Config Kata
  3. The Around Interceptor Kata
  4. The Plugin Integration Test Kata
  5. The Route Config Kata

What is a Code Kata?

Vinai has dedicated a whole blog post to explain the origin of the word kata and what it means in terms of developing code. The idea is borrowed from the world of martial arts.

Mage2Katas YouTube Channel

Almost any aspect of programming can be practiced during a kata:

  • OOP (object oriented programming) class design
  • functional programming
  • simplicity
  • taking small steps
  • performance
  • pair programming
  • problem solving
  • recursion
  • etc.

The idea of Mage2Katas is to practice common tasks of Magento 2 development.

Magento 2 Training Reminder

In case you would like to be trained personally by Vinai, there are still 2 free spots for the 3-day Magento 2 developer training in Zürich starting on April 7, 2016.

(Picture courtesy of Fotolia/103tnn)

Kommentar verfassen

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert