testopwatch
Check how long each test takes and what test file is the slowest
❯ python manage.py test
Creating test database for alias 'default'...
System check identified no issues (0 silenced).
time_exec: 0.2517799s test_name: test_create_account (account.tests.test_account.AccountTests) OK
time_exec: 0.1164200s test_name: test_login (account.tests.test_account.AccountTests) OK
time_exec: 0.1113484s test_name: test_ping (account.tests.test_account.AccountTests) OK
time_exec: 0.0778311s test_name: test_activate (account.tests.test_account.AccountTests) OK
time_exec: 0.2358941s test_name: test_email_user (account.tests.test_account.AccountTests) OK
...
----------- Total test class times -----------
TestClass (account.tests.test_account.AccountTests) finished in 1.24016s
...
Instructions:
-
Install
❯ pip install testopwatch
-
in your settings.py add the following
TIME_RUNNER = "testopwatch.DjangoTimeRunner"
-
run your test with the built-in manager
❯ python manage.py test --failfast --parallel
Metadata
Release files for testopwatch 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| testopwatch-0.1.0.tar.gz | 3.6 kB | Without provenance | Details for testopwatch-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| testopwatch-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for testopwatch-0.1.0-py3-none-any.whl |
Total release size: 7.9 kB
Release files / testopwatch-0.1.0.tar.gz
| Download URL | testopwatch-0.1.0.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ef7228ddeb0ec44260764ff7bbb8302ddbd1ae2a2ae970417221f3da6a8d7470
|
|
BLAKE2b-256 checksum How to use checksums |
ba9f57c884facdcc63a8127a5cae52fffb4cfaa6b68be6ae0176a04178a57708
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.5
|
Release files / testopwatch-0.1.0-py3-none-any.whl
| Download URL | testopwatch-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
435663ffe1c6068ccc2deb568cf5c56dbc8afc9c9d587072afc17e409ef8cfe8
|
|
BLAKE2b-256 checksum How to use checksums |
81ddafb7c3168f9832a31140afa3d8424fd84d822b4b4e256e76d54e2825a279
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.5
|
Security for testopwatch 0.1.0
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.