Test, Harden, and Ship It
The last mile: make sure it actually works (tests), make it safe and solid, then get it out into the world. Shipping โ actually finishing and sharing โ is the skill that makes you a developer.
You've built something real. The final stage separates the hobbyist from the developer: making sure it genuinely works (with tests), making it solid and safe, and then actually shipping it - finishing it, writing a README, and putting it out into the world. Shipping is a skill in itself, and a surprisingly rare one - most projects die half-finished. Finishing and sharing yours is what makes you, unmistakably, a developer.
Test that it actually works
You don't need a fancy setup - a few simple tests that check your core functions do the right thing catch bugs and let you change code with confidence.
import unittest
from tracker import add_book
class TestTracker(unittest.TestCase):
def test_add_book(self):
books = []
add_book(books, "Dune")
self.assertEqual(len(books), 1)
self.assertEqual(books[0]["title"], "Dune")
if __name__ == "__main__":
unittest.main()unittest is all you need. Even a handful of tests for your core functions is transformative - you can refactor, add features, and fix bugs knowing that if you break something, a test will tell you immediately. Every Larz library ships with tests for exactly this reason. You don't need to test everything; test the important logic.Harden and write the README
Before shipping, do a quick safety and clarity pass - and write the README, which is how anyone (including future-you) understands your project.
| Ship checklist | Why |
|---|---|
| No secrets in the code/Git | The #1 thing to check before sharing |
| Handles the obvious bad inputs | Won't embarrass you on first use |
| A clear README | What it does, how to run it, an example |
| It runs from a clean clone | Works for someone who isn't you |
The README is your project's front door: a short description of what it does, how to install and run it, and an example. It's the difference between a project people can use and a mystery folder of code. And double-check for secrets - never ship an API key. This quick pass makes your project shareable and professional.
Ship it - actually finish
- Test the core - a few unittest checks so you can change code with confidence.
- Harden - no secrets committed, obvious bad inputs handled.
- Write a README - what it does, how to run it, an example.
- Ship it - push to GitHub, share it. Finishing is the rare, real skill.
๐ฏ Key takeaways
- Write a few simple tests for your core functions - just code that checks your code with known inputs/outputs.
- Even a handful of tests lets you refactor and add features with confidence that you'll catch breakage.
- Before shipping: no secrets committed, obvious bad inputs handled, and a clear README (what/how/example).
- Shipping - actually finishing and sharing - is a rare, real skill and what makes you a developer.
Frequently asked
Do I really need to write tests for a small personal project?
You don't strictly need to, and for a tiny throwaway script you might reasonably skip it - but even a few simple tests provide value that's well worth the small effort, and writing them is a professional habit worth building early. The core benefit is confidence to change your code. Without tests, every time you add a feature or tidy something up, you have to manually re-check that you didn't break anything, which is tedious and error-prone, so you either waste time or (more likely) don't check thoroughly and introduce bugs. With even a handful of tests covering your important functions, you run them in a second and instantly know whether your change broke something - which makes you far more willing to improve and extend your project rather than being afraid to touch working code. Tests also clarify your own thinking: writing a test forces you to state exactly what a function should do, which often surfaces edge cases you hadn't considered. You don't need to test everything or aim for exhaustive coverage on a personal project - focus on the core logic, the functions that do the real work (adding data, calculating things, transforming input), and don't bother testing trivial glue code. Python's built-in unittest is all you need; a test is just calling your function with a known input and asserting the expected output, which you've seen throughout the Larz libraries. Think of it as a small insurance policy: a few minutes writing tests saves you from the much larger pain of a subtle bug you introduce later and don't notice. For your first real project, writing even three or four tests for your key functions is a great habit that pays off immediately in confidence and teaches you a skill every professional developer relies on. Skip tests only for the most trivial scripts; for anything you'll keep working on, a few tests are genuinely worth it.
What does it actually mean to 'ship' a personal project, and why is it such a big deal?
'Shipping' means actually finishing your project and putting it out into the world in a usable, shareable state - not leaving it as half-built code on your machine, but bringing it to a point where it works, has a README explaining it, and is available (typically pushed to GitHub) for others - or future-you - to see and use. It's a big deal for a few reasons. First, finishing is genuinely hard and rare: a huge proportion of personal projects are abandoned partway, because the last 20% (handling edge cases, writing docs, polishing, actually declaring it done) is less exciting than the initial building. Learning to push through that and complete something is a distinct, valuable skill - arguably more valuable than any particular coding technique - and it's exactly what separates people who 'know some programming' from people who 'build and deliver software'. Second, shipping is where you consolidate everything: the act of finishing forces you to handle the real details (persistence, errors, config, documentation) that turn knowledge into competence. Third, a shipped project is proof - something concrete you built end to end that you can show to employers, add to a portfolio, actually use, and be proud of. A finished, working, shared project, even a modest one, is worth far more on your journey than several ambitious half-built ones, because it demonstrates you can take something from idea to done. Practically, shipping a first project might mean: it works and handles the common cases, you've written a README (what it does, how to run it, an example), you've checked there are no secrets in the code, and you've pushed it to GitHub with a clear commit history - and then you tell someone about it or use it yourself. That's it - it doesn't need to be perfect or impressive, it needs to be finished and real. The mindset shift is treating 'done and shared' as the actual goal, not just 'mostly working on my laptop'. Get in the habit of shipping, even small things, and you'll build both a portfolio and the profoundly useful ability to finish - which is what being a developer is really about.
Related lessons
Make It Real: Data, Config, Polish
A working core is a great start; a real project persists its data, handles configuration pโฆ
Build Your First Real ProjectWhat Next: Becoming a Valuable Developer
You've built and shipped something real โ you're a developer now. This final session maps โฆ
Version Control with GitWorking with Others (and GitHub)
Git becomes truly powerful when shared. Remotes and GitHub let a whole team โ or the wholeโฆ