In this screencast, we'll build a relatively simple class, using TDD techniques. Along the way, we'll discuss various PHPUnit methods, how to create mock objects, and more! I encourage you to work along; it's the best way to learn!
As with anything, there are various ways to approach test-driven development. Like they say, it doesn't matter as much how you test, as long as you are testing. If you have a different approach, let us know in the comments. I'd love to learn more!
- CodePHPStorm: When the IDE Really MattersDifficulty:BeginnerCompletion Time:Medium
- Design & Illustration25 Amazing Blend Tutorials in Adobe Illustrator on Tuts+
- Game DevelopmentEnhance Your Pixel Art With a Stylized Beveled Pixel EffectDifficulty:BeginnerCompletion Time:Long
- CodeNew Development Courses Available on Tuts+ PremiumTuts+ Premium courses teach you a single skill from top to bottom, inside out.Currently, more than 15,000 members are sharpening their skills in web design, web development, photography, Photoshop, vector design, video effects and much more. Our dedicated team adds new content weekly, so there’s always something fresh to sink your teeth into. Today, we’re highlighting a few of the latest and greatest course additions to Tuts+ Premium.Read More…
- Design & IllustrationQuick Tip: Introduction to the Mesh Tool and Creating a MeshDifficulty:BeginnerCompletion Time:Medium
- CodeMaking the Perfect WordPress Theme: How to Code WellDifficulty:BeginnerCompletion Time:QuickIn the previous part of this series; we went through various WordPress APIs that we should learn about, talked about the importance of making a theme translatable (or even better, releasing them already translated into other languages) and understood the concept of licensing themes and using licensed products with the themes. In this article, we're going to focus on code: We'll see how to code with WordPress coding standards, how to properly comment our code and how to validate and test the theme.Read More…