Peter Suhm
Peter is a freelance web developer from Denmark. Most of his time is spent building PHP apps, but he likes Ruby as well. He loves open source, well-crafted and well-tested code. He also loves to travel - especially when the Danish winter kicks in.
Tutorials
  • Code
    Laravel, BDD And You: Let's Get StartedBehat
    375 shares
    Welcome to this series about developing Laravel applications using a behavior-driven development (BDD) approach. Full stack BDD can seem complicated and intimidating. There are just as many ways of doing it as there are developers. In this series, I will walk you through my approach of using Behat and PhpSpec to design a Laravel application from scratch.Read More…
  • Code
    Understanding PhpSpecPhp wide retina preview
    196 shares
    If you compare PhpSpec to other testing frameworks, you will find that it is a very sophisticated and opinionated tool. One of the reasons for this, is that PhpSpec is not a testing framework like the ones you already know. Instead, it is a design tool that helps describing behavior of software. A side effect of describing the behavior of software with PhpSpec, is that you will end up with specs that will also serve as tests afterwards. In this article, we will take a look under the hood of PhpSpec and try to gain a deeper understanding of how it works and how to use it.Read More…
  • Code
    A BDD Workflow With Behat and PhpspecPhp wide retina preview
    191 shares
    Follow along, while we walk through a real life example of how you can incorporate BDD into your daily workflow by using Behat and phpspec.Read More…
  • Code
    Getting Started With PhpspecPhpspec wide retina preview
    219 shares
    Join me for an introduction to using phpspec, a behavior driven development toolset that allows you to describe your application's behavior by writing "specs", using PHP.Read More…