Test Driven Development with Python and Django

david 22120df16f refactored urls.py 5 jaren geleden
functional_tests a85e73e97a new URL, view and template to display lists 5 jaren geleden
lists 22120df16f refactored urls.py 5 jaren geleden
superlists 22120df16f refactored urls.py 5 jaren geleden
.gitignore c00b3f8b3c Init Commit 5 jaren geleden
README.md fdfbc1c3db README.md updated for mid-chapter 7 for break/bed 5 jaren geleden
SCRATCHPAD.txt 22120df16f refactored urls.py 5 jaren geleden
WHERE.txt c00b3f8b3c Init Commit 5 jaren geleden
init_test.py c00b3f8b3c Init Commit 5 jaren geleden
manage.py c00b3f8b3c Init Commit 5 jaren geleden
refactoring_cat.gif 1f17db0546 Refactored: HP view to use a template. 5 jaren geleden

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?