Unit Testing – Introduction

“Code without tests is bad code. It doesn’t matter how well written it is; it doesn’t matter how pretty or object-oriented or well-encapsulated it is. With tests, we can change the behavior of our code quickly and verifiably. Without them, we really don’t know if our code is getting better or worse.” – Michael C. Feathers

Do you want to banish the evil spirit of terror? Or maybe you just want to be sure that you are producing a code without errors? For whatever reasons you are here I will give you a few more to stay with me and catch up with test framework in Magento 2.

Continue reading “Unit Testing – Introduction”

Composer: Scripts

“Hook me up
I’m reaching out for you, come on
Hook me up
I know you can do it, come on, take me on” – Bon Jovi

We all use composer to manage libraries for our apps. Usually we build composer.json file, install dependencies and eventually update them later. These are common and repetitive tasks but composer of course has much more to offer.

Continue reading “Composer: Scripts”