Skip to main content

Screenshot and Annotate and send to django backend.

Project description

https://badge.fury.io/py/testpad.png https://travis-ci.org/milin/testpad.png?branch=master

Screenshot and Annotate and send to django backend.

Documentation

The full documentation is at https://testpad.readthedocs.org.

Quickstart

Install testpad:

pip install testpad

Then use it in a project by updating your settings file:

 INSTALLED_APPS += (
 'settings_context_processor',
 'testpad',
 )
 TEMPLATE_CONTEXT_PROCESSORS += ('settings_context_processor.context_processors.settings', )
 USE_TESTPAD = True
 TESTPAD_AJAX_URL = 'Insert API where screenshot is posted.'

 # for settings_context_processor
 TEMPLATE_VISIBLE_SETTINGS = (
       'USE_TESTPAD',
       'TESTPAD_AJAX_URL',
)

Add this block to your base template:

{# JS block for automated QA utility to create bugs in Jira #}
{# Will be turned off for production #}
{% if USE_TESTPAD %}
    <script src="{{ STATIC_URL }}js/testpad/lib/feedback.js"></script>
    <link rel="stylesheet" href="{{ STATIC_URL }}css/testpad/lib/feedback.min.css" />
    <script type="text/javascript">
        $.feedback({
            ajaxURL: "{{ TESTPAD_AJAX_URL }}",
            html2canvasURL: "{{ STATIC_URL }}js/testpad/lib/html2canvas.js"
        });
    </script>
{% endif %}

Features

  • Captures screenshot based on https://github.com/ivoviz/feedback for django apps.
  • Uses django_settings_context_processor to make settings constant available in your base templates.

TestPad client that includes all the javascript magic to make screenshotting and annotations happen.

Django App for https://github.com/ivoviz/feedback

History

0.1.0 (2015-10-02)

  • First release on PyPI.

Project details


Release history Release notifications

This version
History Node

0.1.7

History Node

0.1.6

History Node

0.1.5

History Node

0.1.4

History Node

0.1.3

History Node

0.1.2

History Node

0.1.1

History Node

0.1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
testpad-0.1.7.tar.gz (35.2 kB) Copy SHA256 hash SHA256 Source None Nov 13, 2015

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page