CAREER GROWTH

Turning a Side Project Into a Testing Portfolio Piece (AI Era)

Most testers I talk to already have a side project somewhere: a half-finished API client, a personal budget tracker, a scraper for data they care about. What they don't have is a way to point a hiring manager at it and say "this shows how I think about testing." The gap usually isn't the code. It's the framing, the structure and the visible decisions that turn a personal experiment into evidence of skill.

AI has raised that bar in a specific way. Anyone can now produce a repository full of passing tests in an afternoon with Copilot or a coding agent. A reviewer knows that, so volume no longer impresses anyone. What stands out is judgement: why these tests exist, what you checked in the code the assistant produced, and whether you can test systems that are themselves non-deterministic. It's also a fair bet you'll be asked how you use AI tools in your testing work, and a repo that answers that question concretely is worth more than any claim on a CV.

Here's how I'd turn a side project into a portfolio piece today: pick a target with real problems, make the design visible, show your AI workflow honestly, and add one small piece of agentic quality engineering.

Build an API Automation Framework With Node.js

Learn Node.js, Cucumber, GitHub Copilot, APIs, CI/CD, and modern automation by building a complete framework.

Learn more

Pick a target with real testing problems

The fastest way to make a portfolio look thin is to test something trivial, like one endpoint that always returns 200 or a to-do app where nothing can go wrong. The point is to show you can recognise and handle complexity, so the target needs some. Look for:

  • Auth with a token lifecycle. Anything with OAuth or expiring keys forces setup and teardown decisions worth explaining.
  • Paginated collections. Walking every page, handling an empty last page and not looping forever is non-trivial and easy for a reviewer to follow.
  • Responses that change shape by query parameter or role, the kind of thing that breaks in production.
  • An LLM-backed feature, if your project has one: a summary, a classifier, a chat endpoint. This is where you can show something many portfolios still lack.

Before writing any tests, write down the five things most likely to break for this target. Those become your first scenarios, and that list goes straight into the README. If you can't name five, explore the target manually a bit longer, or pick a richer one.

Make the design visible in the structure

A flat folder of test1.py and test_final_v2.py tells a reviewer nothing good. The layout is the first thing they see, and it communicates your model of the problem before they read a line:

my-project-tests/
  tests/
    api/
      auth/
      orders/
      edge_cases/
    llm/                  # evals for the AI feature, if there is one
  tests/data/             # seeded fixtures and golden examples
  conftest.py             # client, auth and data fixtures
  scripts/test.sh         # one command to run everything
  .github/copilot-instructions.md
  README.md
  DECISIONS.md

Grouping by domain shows you thought about the API's surface area, not just its list of endpoints. Make the fixtures do visible work: one that authenticates once per session and cleans up the user it created is something you can talk about in an interview. A single command to run the suite matters too. "Clone it, run one script, everything works" is a strong signal. If you use Behave, the layout advice in structuring a Behave project so it scales past 50 scenarios applies directly.

Show your AI workflow honestly

If you used Copilot or an agent to build the suite, say so, and show how. Hiding it doesn't work, and showing it well is a strength. Three things make it concrete.

Commit the instruction file. A .github/copilot-instructions.md with your conventions shows you know how to steer an assistant rather than just accept its output:

## Test conventions
- Assert on documented behaviour (status, schema, business rules), never on a
  snapshot of whatever the API currently returns.
- Use the client in tests/client.py; no raw requests in tests.
- Every new test names the failure mode it guards against in its docstring.
- Live third-party calls are marked live_api and excluded by default.

Write a short "How I used AI" section in the README. Which parts were drafted by an assistant, what you reviewed, and at least one thing you rejected and why. For example: "Copilot generated tests that asserted the current response body verbatim. I replaced them with schema and business-rule assertions, because a snapshot passes even when the behaviour is wrong." That one sentence shows more review skill than a hundred passing tests.

Keep the history readable. Separate commits for generated scaffolding and your corrections let a reviewer see the judgement step. The review habits I use are in reviewing AI-suggested test coverage before you commit it.

Add one small piece of agentic quality engineering

If your project has an LLM feature, testing it properly is the most distinctive thing you can add. The key ideas fit in a few lines: inject the model call so the code is testable, separate deterministic checks from model-dependent ones, and judge model behaviour by pass rate over several runs rather than one result.

from pathlib import Path
import pytest

from myapp.summarize import summarize  # summarize(text, generate) -> str

RUNS = 10
MIN_PASS_RATE = 0.9


def keeps_facts(summary, facts):
    return all(fact.lower() in summary.lower() for fact in facts)


def test_prompt_includes_source_text():
    seen = []
    summarize("Order 1042 was refunded.", generate=lambda p: seen.append(p) or "ok")
    assert "Order 1042 was refunded." in seen[0]


@pytest.mark.llm
def test_summary_keeps_key_facts(generate):
    text = Path("tests/data/incident_report.txt").read_text()
    facts = ["order 1042", "refund issued"]
    passes = sum(keeps_facts(summarize(text, generate), facts) for _ in range(RUNS))
    assert passes / RUNS >= MIN_PASS_RATE, f"only {passes}/{RUNS} runs kept the key facts"

The first test runs in milliseconds with a fake model and always gives the same result. The second, marked llm and fed a real generate function by a fixture, measures behaviour across runs. In the README, explain why you chose that threshold and what you'd do if it dropped. That's the conversation an interviewer wants to have.

No LLM feature? Test an agent's view of your API instead. Write a small tool function an agent could call (say, "list open orders") and contract-test it: argument validation, structured errors and an explicit flag when results are truncated. It shows you understand that agents are a new kind of API client.

Document the decisions, not just the commands

A reviewer gives your repo a few minutes. If the README says "Tests for my project", most of that time goes on confusion. A portfolio README covers four things: what the target is and why it's interesting to test, what the suite covers and deliberately doesn't, how to run it, and at least one decision explained. For example: "I authenticate once per session because the token outlives the whole run, and per-test logins were most of the suite's runtime." A DECISIONS.md with your two or three biggest trade-offs (pytest or Behave, mocks or live calls, which thresholds and why) means you've already rehearsed the interview answers.

For how this fits into a wider portfolio, see building a test automation portfolio that gets interviews. The goal is a repo where a reviewer finishes the README knowing what you were solving, how you approached it, and how you kept an AI assistant honest along the way. If you want a structured project to build this around, my API testing courses walk through a complete suite with GitHub Copilot in the loop.