Skip to content

dmikhaylov/django-protractor

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django Protractor

Easily integrate your protractor tests in your django project, and get a fresh test database with every run.

Dependencies

You must have npm and protractor installed. See Protractor Documentation for more details

Quick Start

  1. Add "protractor" to your INSTALLED_APPS setting like this:

    INSTALLED_APPS = (
      ...
      'protractor',
    )
    
  2. Run the following command to run your protractor tests:

    python manage.py protrator
    

Configuration

There are a variety of options available:

  • --protrator-conf to specify a protractor config file. Default is protractor.conf.js
  • --runserver-command to specify a different runserver command. Default is runserver
  • --specs to specify which protractor specs to run.
  • --suite to specify which protrator suite to run.
  • --addrport to specify which ipaddr:port to run the server on. Default is localhost:8081

About

Easily run your protractor tests with django

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%