Test Driven Development with Python and Django

david fba4c63928 set STATIC_ROOT in settings and disabled admin 5 éve
functional_tests e89ccd9ab5 Use Bootstrap to improve layout 5 éve
lists e89ccd9ab5 Use Bootstrap to improve layout 5 éve
superlists fba4c63928 set STATIC_ROOT in settings and disabled admin 5 éve
.gitignore fba4c63928 set STATIC_ROOT in settings and disabled admin 5 éve
README.md fdfbc1c3db README.md updated for mid-chapter 7 for break/bed 5 éve
SCRATCHPAD.txt 22120df16f refactored urls.py 5 éve
WHERE.txt c00b3f8b3c Init Commit 5 éve
init_test.py c00b3f8b3c Init Commit 5 éve
manage.py c00b3f8b3c Init Commit 5 éve
refactoring_cat.gif 1f17db0546 Refactored: HP view to use a template. 5 éve

README.md

Obey The Testing Goat

TOC

GitHub Repo

Last At Foreign Key Relationship (Chapter 7)

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.

ISSUE FOUND:

Location: 6.3 Where: Refactoring check_for_row_in_list_table() What: Why use return instead of break?