• Stars
    star
    484
  • Rank 90,873 (Top 2 %)
  • Language
    Python
  • License
    Other
  • Created over 11 years ago
  • Updated 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Book - TDD web dev with Python

Test-Driven Web Development With Python, the book.

License

The sources for this book are published under the Creative Commons Attribution Non-Commercial No-Derivs license (CC-BY-NC-ND).

I wouldn't recommend using this version to read the book. Head over to obeythetestinggoat.com when you can access a nicely formatted version of the full thing, still free and under CC license. And you'll also be able to buy an ebook or print version if you feel like it.

These sources are being made available for the purposes of curiosity (others writing books may be interested in the test suite for example) and collaboration (typo-fixes by pull request are very much encouraged).

Building the book as HTML

  • install asciidoctor, and the coderay gem.
  • make build will build each chapter as its own html file
  • make book.html will create a single file
  • make chapter_post_and_database.html, eg, will build chapter 5

Running the tests

  • Pre-requisites for the test suite:
$ pip install -r requirements.txt
$ git submodule update --init
  • Full test suite:
$ make test
  • To test an individual chapter, eg:
$ make test_chapter_explicit_waits_1
  • Unit tests (tests for the tests for the tests in the testing book)
$ ./run_test_tests.sh

More Repositories

1

book-example

Example code for my book on TDD with Python
JavaScript
1,451
star
2

Test-Driven-Django-Tutorial

(outdated) source code & text for a tutorial on using doing TDD django
Python
378
star
3

pytest-icdiff

better error messages for assert equals in pytest
Python
309
star
4

tdd-roman-numeral-calculator

TDD guide using Roman numerals - with a twist
Python
77
star
5

python-conference-beginners-day

Some docs to support the organising of a "beginners' day" at Python conferences
Python
33
star
6

dotfiles

vimrc, bashrc etc
Shell
14
star
7

raft

Raft consensus algorithm toy project
Python
9
star
8

www.obeythetestinggoat.com

www.obeythetestinggoat.com
HTML
6
star
9

cryptopals

Working thru the matasano crypto challenges in clojure
Clojure
3
star
10

selenium-daemon

Daemon for running selenium
Python
3
star
11

pip-install-geckodriver

A package to install geckodriver using pip install
Python
3
star
12

TDDjango-site

source for published website of TDD-Django tutorial
Python
3
star
13

pwhich

python-which - find the folder a python module is installed in
Python
2
star
14

Dojo-Mastermind-

Python
2
star
15

eventstoreio

grpc client for eventstoredb
Python
2
star
16

Python-Testing-Tools-Report

a report on the current state of testing tools in Python
2
star
17

django-logfile-analytics

An attempt to clone Google Analytics, but less evil because it uses Apache server logfiles.
Python
2
star
18

tdd-fridays

Python
1
star
19

cake-shop-kata

Bob's Cake Shop Kata from https://www.codefiend.co.uk/cake-shop-kata/
Python
1
star
20

99bottles

Python
1
star
21

python-osc-qlab-interface

Python
1
star
22

morsels

some "python morsels"
Python
1
star
23

datascience-from-scratch

making my way thru the "Data Science from Scratch" book https://amzn.to/3hMJVMk
Python
1
star
24

kwargify

convert arbitrary arguments into kwargs
Python
1
star
25

sicp

Racket
1
star
26

minimal-django-custom-user-model

Minimal possible django custom user
Python
1
star
27

tdd-thursdays

basis scaffolding for a minimal js/node project with jasmine test runner
JavaScript
1
star