Jason McCreary Testing
Jason McCreary, aka “JMac”, likes building things with his hands. He is the creator of Laravel Shift, author of BaseCode, and producer of Getting Git. Never hesitate to go up and talk to him or challenge him to a game of Catan.
Where do you work, what is your current role?
I began working full-time on my own projects last fall. So, I’m the senior PHP developer in my basement office.
How do you use PHP professionally?
In one way or another, I have used PHP in all of my projects. Whether to build the sales page for Getting Git, the APIs for Laravel Shift, or the script to generate the PDF for BaseCode, it’s PHP.
How and when did you get involved speaking or writing in the community?
I think I wrote my first article for PHP|architect back in 2006. I started speaking in 2010.
What’s your best conference memory?
Gosh, I just enjoy mingling with attendees.
What advice do you have for someone going to their first conference?
Don’t be afraid to talk to speakers and organizers. They are there to help you answer your questions.
Using tests effectively requires a different mindset than just typing out code. What helped testing “Click” for you?
While I’ve always tested my code (at least via the browser), it wasn’t until I joined a pair programming team that testing “clicked” for me.
How do you make the case for testing?
Once a project grows too large to fit inside any individuals mind space, you realize the need for tests. Until then, it’s actually hard to “make the case”.
Adding tests to legacy code can be overwhelming. What advice would you give a team of developers looking to get started?
Start with the mission-critical features – checkout, sign up, etc. Even a “happy-path” integration test can go a long way to prove the value of tests and get business buy-in.