Skip to content

This project is the groundwork to understand the techniques of TDD in the book "Test-Driven Development with Python: Obey the Testing Goat"

License

Notifications You must be signed in to change notification settings

fedaykin-b/superlists

Repository files navigation

Superlists Project

This project is suggested by the book Test-Driven Development with Python: Obey the Testing Goat: Using Django, Selenium, and JavaScript.

It shall be built as I progress on the lectures.

instructions

It's good to have a virtualenv configured on your PC. The book recommends a helper module called virtualenvwrapper. If you use Windows as I do, you could use this port of the module to windows batch.

  1. Start a virtualenv:
# on macOS/Linux:
mkvirtualenv --python=python3.6 your_virtualenv_name

# on Windows
mkvirtualenv --python=python your_virtualenv_name

If you already have a virtualenv, you can activate it with

workon your_virtualenv_name

Use the deactivate command to exit it.

  1. Install packages on your env:
pip install -r requirements.txt
  1. Download the ChromeDriver. Unzip it and make sure its path is included on the PATH system variable. If you don't do this, make sure the webdriver in selenium module can find the driver by passing its path on calling:
browser = webdriver.Chrome('/path/to/chromedriver')

About

This project is the groundwork to understand the techniques of TDD in the book "Test-Driven Development with Python: Obey the Testing Goat"

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published