Vinai Kopp

Magento Expert, Developer & Trainer

  • 11. The Custom Config File Edge2Edge Test Kata

    June 17, 2016

    Mage2Katas

    In this episode we are going to round up and finish the custom config file mini-series. We are going to do that by adding 2 more tests, and these tests will cover the whole process of using our custom config file from beginning to end.
    We are going to use the code in the same way it is going to be used in the real application. And if you where following along the series, then these tests will actually expose a bug we that still is present in the current configuration. This illustrates nicely how important it is to have edge to edge tests.

    Read more

  • 10. The Config XML Converter Kata

    June 2, 2016

    Mage2Katas

    Finally it’s time to do some real TDD with unit tests again.
    The tests will be running nice and quick since we don’t need the Magento runtime environment to be bootstrapped :)

    This time we will convert the raw XML structure of our custom configuration file from the previous kata to a more usable array structure.

    Read more

  • 08. The DI Arguments Config Kata

    May 5, 2016

    Mage2Katas

    Dependency Injection is at the technological heart of Magento 2. It is used to wire together the application.
    Using the di.xml configuration files most of the systems behavior can be changed.

    Given it is such a critical part of the application, I like being able to know what I am configuring is correct.

    Read more

  • 07. The Action Controller Integration Test Kata

    April 18, 2016

    Mage2Katas

    This kata is (again) about creating a new Action Controller.
    In contrast to the last kata however we will be writing integration tests to verify our controller works correctly in the context of Magento 2.

    Read more