Test Driven Development
기능 테스트를 이용한 Django 설치
nickas
2019. 7. 8. 17:48
from selenium import webdriver
browser = webdriver.Firefox()
browser.get('http://localhost:8000')
assert 'Django' in brower.title
pip install selenium
pip install django
django-admin startproject config .
python manage.py runserver
python functional_test.py
.gitignore에 예외할 파일 또는 디렉토리 추가
git init .
git add .
git status
git rm -r --cached __pycache__
git add .gitignore
git commit -m "first commit"
mozilla/geckodriver
WebDriver for Firefox. Contribute to mozilla/geckodriver development by creating an account on GitHub.
github.com