Test Driven Development with Python and Django

david f243dd96dd HIT PAUSE BUTTON: WAITING FOR SUBDOMAINS 5 years ago
functional_tests 1c8b952b81 Hacked FT runner to test staging 5 years ago
lists f243dd96dd HIT PAUSE BUTTON: WAITING FOR SUBDOMAINS 5 years ago
superlists fba4c63928 set STATIC_ROOT in settings and disabled admin 5 years ago
.gitignore fba4c63928 set STATIC_ROOT in settings and disabled admin 5 years ago
README.md dec2457c78 README.md updated for chapter 9! 5 years ago
SCRATCHPAD.txt 22120df16f refactored urls.py 5 years ago
WHERE.txt c00b3f8b3c Init Commit 5 years ago
init_test.py c00b3f8b3c Init Commit 5 years ago
manage.py c00b3f8b3c Init Commit 5 years ago
refactoring_cat.gif 1f17db0546 Refactored: HP view to use a template. 5 years ago

README.md

Obey The Testing Goat

TOC

GitHub Repo

Last At (Chapter 9)

TDD Order Of Operations:

  1. Code a Test!
  2. Run test and ensure it FAILS!
  3. Write MINIMUM Code to PASS!
  4. Run test and ensure it PASSES!
  5. Rewrite code smaller/better, Refactor, DRY, etc.
  6. Run test and ensure it PASSES!
  7. Commit to a Git repo!

Upgrading Selenium, Geckodriver, and Chromedriver:

  1. pip install --upgrade selenium,
  2. Download new Geckodriver, (Google "Geckodriver")
  3. Extract Geckodriver into virtenv/bin, (Python Virtual Environment)
  4. Download new Chromedriver, (Google "Chromedriver")
  5. Extract Chromedriver into virtenv/bin, Done.