Considering Effectiveness in Test Automation

Tomasz Kunicki

Speaker: Tomasz Kunicki @TimiTaoPL

What matters about test automation is feedback. For new functionality we should have a guarantee of correctly implemented code/functionality and for old parts – of not having created new bugs.

What is effectiveness (accuracy) and what change could fighting for it in tests bring? How does it differ from efficiency and why sometimes going for the highest efficiency is not such a good idea? I will describe this shortly based on my experience with unit and BDD testing.

Profiling PHP7 Applications

Special Free Event

Presented by Paris Liakos (@ParisLiakos)

Date: October 5, 2017
Time: 20:00 CEST

19:00 BST, 13:00 CDT, 11:00 PDT
Not sure of the time in your area? Check it on timeanddate.com

This meeting is over, but you can still purchase the video.

Purchase Video

The release of PHP7 changed the profiling landscape drastically. Xhprof still does not support it and it looks like it will never will. In my talk I’ll provide an overview of PHP7’s forks so far, with a deeper look to the tideways one in combination with the original/default xhprof UI, and a further overview of other available UIs.

Paris Liakos

Pari Liakos

Paris is a software developer at SiteGround, passionate about maintainable and extendable code. He’s always been an avid open source contributor, focusing on the PHP and Drupal communities for the past 6 years. He’s also a motorcycle and beer lover. You can also find him on GitHub.

Refactoring Done Right

November 2017

Presented by Brandon Savage (@brandonsavage)

Date: November 16, 2017
Time: 20:00 CST

18:00 PST, 3:00 CET (Nov 17), 2:00 GMT (Nov 17)
Not sure of the time in your area? Check it on timeanddate.com

This meeting is over, but you can still purchase the video.

Purchase Video

Everybody talks about refactoring, but what’s the best way to actually refactor a part of your application? Come watch a live session where we’ll refactor a piece of code and come away with a well-designed solution. Along the way we’ll learn how to spot candidates for refactoring, and pitfalls to avoid.

Brandon Savage

Brandon Savage

A Practical Introduction to Snapshot Testing

Freek van der Herten

Speaker: Freek Van der Herten @freekmurze

The basic idea of snapshot testing is that you compare the output of your code against a file that’s written on disk. That file is called a snapshot. If the output of your test matches up with the contents of that snapshot, it succeeds, otherwise, it fails. It’s a simple as that.

In this talk we’ll demo how you can add snapshot testing methods to PHPUnit and review a practical example on how to us them.

Code as Config

This week’s tip is going out to both Nomad PHP and Nomad Mage because the person who wrote the blog post is an active member of both communities.

Stephan Hochdörfer recently penned short blog post introducing an interesting concept that he and bitExpert are espousing. Forget XML (or YAML, or JSON, or any other markup language) store your config files in PHP code. This is an interesting concept to me. I’ve done this in the past but I’ve also used YAML and JSON. (I refuse to use XML for anything)

If you are curious, check out his blog post Why using code as DI config is a win! It doesn’t matter if you like the idea or not. All that matters is that you understand the idea before you decide. 🙂


Join the Word Wide Herd!

Each week we send a tip, trick, or new project to PHP developers around the world. Don’t be left out. Join the Nomad PHP mailing list today and be a part of the World Wide Herd.

* Fine print. We do not sell, rent, loan, or otherwise distribute your information to anyone, ever.