A structured 2-week plan for automation engineers learning Python SDET skills with the Dexter project.
| Week | Focus | Goal |
|---|---|---|
| Week 1 | Python foundations + project setup | Write and run basic Python; understand the app |
| Week 2 | Automation deep dive + CI/CD | Build a full test suite; operate CI pipeline |
Topics: Data types, variables, operators, collections (list, dict, set, tuple), control flow.
Exercises:
qty > 1 using a list comprehension.calculate_total(price, qty) that returns the total cost.Deliverable: scratch/day1_basics.py with the above exercises.
Topics: Functions, modules, imports, exceptions, logging.
Exercises:
calculate_total into a new module src/utils.py.ValueError for negative price or zero quantity.tests/api/ that calls the validation logic and asserts the error.Deliverable: Updated src/utils.py and a passing test.
Topics: Virtual environments, pip, Flask basics, REST concepts.
Exercises:
curl to call each API endpoint.src/app.py and src/data_store.py and describe (in comments) what each function does.Deliverable: Running app with annotated source code comments.
Topics: pytest basics, fixtures, assertions, HTTP status codes.
Exercises:
tests/api/test_orders_api.py.pytest -m api -v and confirm all pass.Deliverable: At least 3 new passing API tests.
Topics: Parametrize, negative testing, boundary conditions.
Exercises:
@pytest.mark.parametrize to test 4–5 invalid payloads in a single test function.Deliverable: Parametrized test block + update/list test.
Topics: WebDriver setup, locators, explicit waits, Page Object basics.
Exercises:
tests/ui/test_orders_ui.py.time.sleep calls (if present) with WebDriverWait.Deliverable: 1 new UI test using explicit waits.
Topics: Form validation, error messages, dynamic content.
Exercises:
Deliverable: 2 new UI tests + a Page Object class.
Topics: black formatting, naming conventions, code review.
Exercises:
black --check . and fix any violations.Deliverable: Formatted, reviewed PR.
Topics: GitHub Actions, workflow YAML, reading logs.
Exercises:
.github/workflows/ci.yml.Deliverable: PR with a green CI run.
Topics: Consolidation, reflection, mock interview prep.
Exercises:
Deliverable: Completed interview prep checklist.
Use this checklist to self-assess before a Python SDET interview.
pytest.pytest fixtures are and give an example.requirements.txt file?By the end of the two-week plan you should be able to:
pytest, covering positive and negative cases.black) and follow commit conventions.