We're over halfway through the month of October, which means #Hacktoberfest is halfway done! Did you get your 4 PRs yet? This past week, I got 5 more PRs done, two around unit tests for one project, a documentation fix for a unit-testing package for Laravel's Eloquent, adding new functionality for the Snorlax library that … Continue reading #Hacktoberfest Week 2 Recap
How Do I Know If My Unit Tests Are High Quality?
I get asked a lot how we can tell if our unit tests are actually any good. When doing test code review, there's a lot of factors I look for to judge whether or not they are effective, quality unit tests. For a project I am working on, I'm looking for some examples of code … Continue reading How Do I Know If My Unit Tests Are High Quality?
#Hacktoberfest Week 1 Recap
The first week of #Hacktoberfest is done! How'd you do? You just need to get one this week if you want to space out your four PRs over the month! Remember, they don't have to be merged this month - so don't worry if you don't quite get it right, just give it a shot! … Continue reading #Hacktoberfest Week 1 Recap
Happy #Hacktoberfest!
For the third year in a row, Hacktoberfest is back! Hacktoberfest is a celebration of open source software encouraging everyone to contribute. The exciting part is if you make 4 Pull Requests to ANY Open Source project on Github in the month of October, you get an awesome shirt! (This is last year's shirt, they're different … Continue reading Happy #Hacktoberfest!
Code Quality Enforcement via Git Pre-Commit Hook
There are a lot of methods for measuring the quality of a codebase, but if you're not running these tools locally, it's much harder to make headway on improvements. I always suggest running quality checks before pushing changes, so I wrote a git hook to enforce the quality checks before commit. A git hook is a script that … Continue reading Code Quality Enforcement via Git Pre-Commit Hook
How to use Behat and Phantom JS on Circle CI or Travis CI
A few months ago, I started working on some behavior tests for a javascript heavy website. I chose to write the tests in Behat, and wanted to use the Phantom JS driver because it would be faster than running Selenium 2 with a real browser. It also had to run on Circle CI. Once I … Continue reading How to use Behat and Phantom JS on Circle CI or Travis CI
Do you need testing help?
If your open source project (PHP) needs more or improved unit or behavior tests, please let me know - I love helping out! — Jessica Mauerhan (@JessicaMauerhan) June 12, 2016 Last month, I posted this tweet offering up testing help for any PHP open source project. If you'd like to take advantage of this, just ask! … Continue reading Do you need testing help?