GithubHelp home page GithubHelp logo

wd5 / django-testrecorder Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pydevua/django-testrecorder

0.0 2.0 0.0 274 KB

Tools for automatic tests creation for django applications

Home Page: http://pydev.com.ua/

django-testrecorder's Introduction

Documentation: http://django-testrecorder.readthedocs.org/en/latest/

====================
django-test-recorder
====================

Tool for generating tests for Django projects.

Статья о django-test-recorder: http://djbook.ru/examples/27/

#Using:#

Run ./manage.py recorderserver <fixture fixture ...> and visit http://127.0.0.1:8000.
This command support same options like "testserver" command.

#Examples of settings:#

import sys
sys.path.insert(0, '/some_path/test-recorder') #or just copy it to PYTHONPATH

INSTALLED_APPS += (
    'testrecorder',
)

RECORDER_AUTOLOGIN = True
RECORDER_AUTH = {
    'username': 'admin',
    'password': 'admin'
}
RECORDER_FIXTURES = ['test.json']
RECORDER_IGNORE = (
    '^/admin.*',      
)

For all available settings see testrecorder.settings.py

NOTES:

1. If you have some middleware that changes request.path_info, maybe you should
add 'testrecorder.middleware.TestRecorderMiddleware' manually after you middleware.

2. **Use Firefox please**, because we have some problems with Chrome :( 

#More#

Tested with Django 1.1 - 1.2.5. 
The project code and bugtracker is hosted on http://github.com/pydevua/django-testrecorder.
Thanks for downloading. We are glad to hear your questions, comments or suggestions!
Thanks django-debug-toolbar for styles :)

Projects are very different so it is not so easy provide all situation. So if you 
get error create please issue. It will be good if you send js error or traceback 
from console. If your project is open, left please link to the repository.
Just settings.MIDDLEWARE_CLASSES can be good too. 

django-testrecorder's People

Contributors

alerion avatar vitalik avatar aaronvanderlip avatar t0ster avatar rad avatar

Watchers

James Cloos avatar wd5 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.