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 I mentioned last week, and some more unit tests for another library.
If you haven’t started yet, you still have tons of time! Last year I think I got my 4 done at the very end, so don’t feel like you can’t participate at this point! Look for open #hacktoberfest issues or just find a project you like and see what you can do to help out!
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 in-the-wild – to evaluate your unit tests. If you’re interested in having a seasoned TDD pro look over your PHP Unit tests and analyze their quality and effectiveness – for FREE – please drop me a message. I’ll review the tests and respond with a report on what areas of unit testing you need to work on, and which specific tests have flaws. Your code will never be shared or published anywhere.
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!
I thought it would be nice to do a weekly recap of the PRs I’m making this month as part of #hacktoberfest. I got 5 done so far, so I’m a little behind my own schedule, but I do have leads on a few other projects to work on. As I mentioned in my earlier post, If you have a PHP project that needs tests or just have a bug you need help with, feel free to message me and I’ll take a look, or just tag it with the hacktoberfest label and encourage people to work on it this month!
So, the 5 PRs I did so far included: a small bugfix to UUID, adding requested test coverage to two new-to-me libraries, and then improving some tests in UUID. My fifth PR was actually to fix an issue I introduced in one of those new libraries where I made the tests incompatible with older versions of PHP that they did want to support, so I started work on another PR to fix that, but I’m still debugging the issue.
Next week I plan on finishing that fix to that library so they can still run on older PHP versions, adding more tests to another library, and adding another requested feature to the Snorlax library I found this week. The maintainers of this library are very friendly, and I’ve enjoyed working on their project – so go check it out and see if it’s something you would use, or want to contribute to. They still have multiple issues open for #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 each year)
Last year’s Hacktoberfest was the first time I actually did PRs to OS projects (other than my own small projects) so I have a special fondness for it. Those PRs were eventually merged, even though one took about 10 months to get merged in! But it’s okay if yours don’t get merged, you just have to try! Any PRs count, including documentation, tests, whatever – So it’s a great way to get started. And this year, projects are tagging issues with a hacktoberfest label so you can easily find open issues in your language of choice to work on!
This year, I managed to get my four PRs done within the first four days – which inspired me to try to go for 31 (since October has 31 days). I’ll be focusing a lot on unit tests and testing related PRs, but also some generic bug fixing as well – and I’ll be posting about them here, so hopefully other people who aren’t already contributing to OSS can see how easy and fun it can be to make a small difference.
Follow along with me here on the blog, or check out my profile for October to see all of them at once! There’s also a neat tool that checks your progress for you, so here’s mine, and you can enter your username to track your own progress!
If you have a PHP project that needs tests or just have a bug you need help with, feel free to message me and I’ll take a look, or just tag it with the hacktoberfest label and encourage people to work on it this month!