Skip to main content

testpad

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.

Metadata

Release files for testpad 0.1.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for testpad 0.1.7
File Size Uploaded Provenance Actions
testpad-0.1.7.tar.gz 35.2 kB Without provenance Details for testpad-0.1.7.tar.gz

Release files / testpad-0.1.7.tar.gz

Download URL testpad-0.1.7.tar.gz
Size 35.2 kB
Tags Source
SHA-256 checksum
How to use checksums
61c9746ea69e05aec66dffee96d88bb1e3f65c98e8ec407cacdd9a0a77c90b0e
BLAKE2b-256 checksum
How to use checksums
9b470cf577c2565a1b78bda8a4fba8e543861d0cb46009c44ac183d6e99db646
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for testpad 0.1.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page