PHPUnit, PhpStorm and docker-compose
I wanted to run tests with PHPUnit on a docker environment, which was set up with docker-compose, and use the PhpStorm integration. Since PhpStorm 2013.2 there is a docker intergration which works well...
View ArticleTDD Kata 11 – Reversed Binary Numbers
This is my weekly Kata post. Read the first one to learn what it is all about. Last week: Anagrams To the Kata description Scroll down to this weeks Kata description I started in PHP with a naive array...
View ArticleTDD Kata 12 – Ugly Trivia Game
This is my weekly Kata post. Read the first one to learn what it is all about. Last week: Reversed Binary Numbers To the Kata description Scroll down to this weeks Kata description I started with a...
View ArticleTDD Kata 13 – Boolean Expression Engine
This is my weekly Kata post. Read the first one to learn what it is all about. Last week: Ugly Trivia Game To the Kata description Scroll down to this weeks Kata description As planned, I did the PHP...
View ArticlePHP 7: Type-safe Arrays of Objects
With PHP 7 you can choose to write much more type-safe code than before, thanks to scalar type hints and return types. function repeat(string $text, int $times) : string; But what about arrays? There’s...
View ArticleTDD Kata 14 – Exclamation Mark Series
This is my weekly Kata post. Read the first one to learn what it is all about. Last week: Boolean Expression Engine To the Kata description Scroll down to this weeks Kata description I was determined...
View ArticleMy Opinion on XML Based Testing in Magento
Magento architect Anton Kril asked about opinions on XML based tests: #magento twitter, what are your thoughts about writing tests in XML? — Anton Kril (@AntonKril) 20. Juni 2017 My answer does not fit...
View ArticleMageTestFest – A Unique Conference and One Time Opportunity
If you are interested in Software Testing and/or Magento development, the most interesting event of the year is approaching: MageTestFest in Amerfoort (NL)! Nov 15: Workshop PHPUnit (Sebastian...
View ArticleReview: 2018
The blog has become silent, still I’d like to begin the year 2019 with a little retrospective, just like in 2017, 2016 and 2015. Since there were no new posts in 2018 and I turned off the tracker,...
View ArticleTesting Date And Time with Clock Objects
Did you ever write unit tests for code that dealt with date and time? Since time itself is out of your control, you might have used one of these approaches: Test doubles, e.g. for the DateTime class in...
View Article
More Pages to Explore .....