# hjwp/book-example

Example code for my book on TDD with Python

Repository: https://github.com/hjwp/book-example
Canonical: https://ross.abutalabs.com/products/book-example
Homepage: http://www.obeythetestinggoat.com
Language: JavaScript
License Family: other
Last push: 2025-10-08T09:20:48+00:00

## Health v2 (maintenance only)
Score: 53/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 46, release rhythm 35, longevity 100
- inputs: {"age_days": 4953, "days_push": 329, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1491, forks 563 (observed 2026-08-28T04:04:52.493894+00:00)

## What it is
Companion example code repository for the book 'Test-Driven Web Development with Python' (Obey the Testing Goat), with one branch per book chapter. It demonstrates TDD with Python, Django, Selenium, and JavaScript, including deployment with Docker and Ansible.

## Use cases
- learn test-driven development with python
- follow along with the obey the testing goat book
- example code for tdd with django and selenium
- learn selenium end-to-end testing
- see how to organize test files in a django project
- learn mocking and fixtures in python tests
- example django deployment with docker and ansible

## When to choose
- you are reading the book and want the code for a specific chapter
- you want a step-by-step worked example of TDD in a real web app
- you want to see testing practices like mocking, fixtures, and explicit waits in context

## When to avoid
- you want a production-ready application or reusable library
- you need a standalone TDD tutorial without the book
- you want a framework or tool rather than educational example code

## Facets
- artifact type: learning-resource
- maturity: active
- function: testing, e2e-testing, mocking, web-framework
- domain: testing, web-development, tutorials, developer-tools
- platform: python, cross-platform
- tags: tdd, django, selenium, book-example-code, unit-testing, obey-the-testing-goat, docker

## Member repositories
- hjwp/book-example (main) score 53

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:52.493894+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:33:34.600980+00:00, confidence not recorded.
  - readme: https://github.com/hjwp/book-example (fetched 2026-08-28T04:04:52.493894+00:00, sha 61d6b813548b)
  - homepage: http://www.obeythetestinggoat.com (fetched 2026-08-29T11:39:45.486390+00:00, sha 793bbc9fe436)
- Data as of 2026-08-30T08:39:29.467469+00:00.
