Need help with Book-TDD-Web-Dev-Python?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

hjwp
355 Stars 134 Forks Other 4.7K Commits 13 Opened issues

Description

Book - TDD web dev with Python

Services available

!
?

Need anything else?

Contributors list

# 37,239
Python
CSS
Shell
domain-...
2442 commits
# 7,691
Shell
solidit...
Jupyter...
token
501 commits
# 263,589
CSS
HTML
Shell
490 commits
# 118,737
OCaml
Shell
Clojure
Jupyter...
489 commits
# 37,649
Shell
oreilly
solidit...
Jupyter...
146 commits
# 53,252
Python
Shell
HTML
OpenGL
21 commits
# 664,695
CSS
HTML
Shell
14 commits
# 664,434
Kotlin
Docker
HTML
Spring ...
11 commits
# 298,814
CSS
Shell
Perl
Jupyter...
9 commits
# 569,700
CSS
HTML
Shell
8 commits
# 9,007
Django
fish-sh...
meteor
oh-my-z...
4 commits
# 51,660
clojure...
pelican
React
emacs-l...
4 commits
# 351,385
HTML
centos
Ubuntu
etcd
4 commits
# 566,722
Android
jira
Kotlin
android...
2 commits
# 176,397
Groovy
texlive
nix
geopand...
2 commits
# 374,590
python-...
registe...
signup
Django
1 commit
# 581,959
Shell
CSS
HTML
1 commit
# 53,660
yahoo-f...
algorit...
CSS
HTML
1 commit
# 79,586
slackbo...
HTML
slack
slack-a...
1 commit
# 275,472
Racket
Svelte
Elixir
Haxe
1 commit

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:

    console   
    $ mkvirtualenv --python=python3 tddbook
    $ pip install -r requirements.txt
    $ git submodule update --init
    
  • Full test suite:

    console
    $ make test
    
  • To test an individual chapter, eg:

    console
    $ make test_chapter_explicit_waits_1
    
  • Unit tests (tests for the tests for the tests in the testing book)

    console
    $ ./run_test_tests.sh
    

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.