Module 5 · Working like a QA engineer Lesson 15 of 15
A portfolio suite a recruiter can open
One repository with a readable test suite, a sample report and a README beats a certificate. It shows the work, and it can be run in front of an interviewer.
The concept
Structure the repo so a stranger understands it in a minute: tests/ for the cases, pages/ for the helpers, and a README that says what it covers and how to run it.
Mention the one thing it does not cover. Honesty about the gap is what makes the rest of the suite believable in an interview.
# tests/test_jobs.py run: pytest -q --html=report.html
import pytest
from pages.jobs import JobsPage
@pytest.mark.parametrize("keyword,minimum", [("analyst", 1), ("zzz", 0)])
def test_search_results(driver, keyword, minimum):
page = JobsPage(driver).open()
assert len(page.search(keyword).results()) >= minimum
def test_apply_requires_login(driver):
page = JobsPage(driver).open().open_first_job()
page.apply()
assert page.current_path() == "/login"Worked example
pytest --html=report.html produces a shareable report, and the README explains how to run it in two commands.
Your practice task
Put your best ten tests in one repo with a README and a generated HTML report, and push it.
Do this before moving on. Reading a solution teaches the shape of it; typing it teaches you.
Key takeaway
Structure the repo so a stranger understands it in a minute: tests/ for the cases, pages/ for the helpers, and a README that says what it covers and how to run it.
Keep your place in this course
A free account saves which lessons you have finished and unlocks the certificate. The lesson itself stays free to read.
Create free account or sign inCourse complete
You finished every lesson.
Your certificate is ready, and the projects you built are the proof to attach to an application.
Almost there
15 lessons left of 15
Finish every lesson to unlock the certificate. Each one ends in a practice task — do them and the final project brief writes itself.