Skip to main content

django-list-tests

Add a django management command to list all tests in the project

Quickstart

Install django-list-tests:

pip install django-list-tests

Add it to your INSTALLED_APPS:

INSTALLED_APPS = (
    ...
    'django_list_tests',
    ...
)

And run:

./manage.py list_tests <app_name>

You can use this command for fzf completion of tests:

# FZF ALL DAY ERRY DAY
function tz() {
    # cache the test names to speed things up. you can go more complex with
    # watchman or whatever.
    if [[ ! -f '.test_names' ]]; then
        python $DJANGO_MANAGE_SCRIPT list_tests $DJANGO_ROOT_MODULE > ./.test_names
    fi

    TESTS=$( cat .test_names | fzf )

    echo Runnning "$TESTS"
    python "$DJANGO_MANAGE_SCRIPT" "test" --keepdb "$TESTS"
}

Metadata

Release files for django-list-tests 0.1.2

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

Source distribution (sdist)

Source distribution for django-list-tests 0.1.2
File Size Uploaded Provenance Actions
django-list-tests-0.1.2.tar.gz 3.5 kB Without provenance Details for django-list-tests-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for django-list-tests 0.1.2
File Interpreter ABI Platform Actions
django_list_tests-0.1.2-py2.py3-none-any.whl Python 2, Python 3 none any Details for django_list_tests-0.1.2-py2.py3-none-any.whl

Total release size: 6.8 kB

Release files / django-list-tests-0.1.2.tar.gz

Download URL django-list-tests-0.1.2.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
33e7d7af9388af7e7c4ba06b9368f8eb0f73cbd94a2e11b7c5135a5d6cf85e82
BLAKE2b-256 checksum
How to use checksums
eb608661216813e0411335f4d315ed9a1cb018774b72e1deac9d19e3074fa03c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/3.6

Release files / django_list_tests-0.1.2-py2.py3-none-any.whl

Download URL django_list_tests-0.1.2-py2.py3-none-any.whl
Size 3.3 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
25bd3c0c7f4e0dfb40f913b841416a9ea1ef1fa5c021ca4c7643fbbf2b78cf7a
BLAKE2b-256 checksum
How to use checksums
cd1e19258b97672757cad3a8146e0967ec44e7f9405fd8fa5b933b2c54c66d3e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/3.6

Security for django-list-tests 0.1.2

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