Skip to content

Small and Simple TestCase to test models from your application

Notifications You must be signed in to change notification settings

Diegow3b/python-django-basictestcase

Repository files navigation

python-django-basictestcase

External Dependency

Virtualenv Chrome WebDriver

Version

chromedriver-installer==0.0.4
coverage==4.0.3
Django==1.8
pkg-resources==0.0.0
selenium==2.53.6
splinter==0.7.4

Installation

Obs.: If you already have virutalenv and python-pip you can jump to step 2

1 - Install virtualenv if you dont have it

$ sudo apt-get install virtualenv
#### 2 - Create and Activate your Virtual Machine (virtualenv)
```sh
$ virtualenv vm
$ vm source/bin/activate

3 - Clone the project to your folder and enter on it

$ git clone https://github.com/Diegow3b/python-django-basictestcase.git
$ cd projeto-teste

4 - Install the requirements (Will install django and other internal dependencies)

$ pip install -r requirements.txt

5 - Run the test code

$ python manage.py test

6 - Coverage

$ ./run_coverage.sh

Further help

To get more help ask me my github or email.e

About

Small and Simple TestCase to test models from your application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published