testgui
Drop-in replacement GUI for Django testing and testing with unittest.
Usage:
Django: replace your management command test with testgui. It works with the same parameters out of the box. eg.
python manage.py testgui
Unittest: change your test file code like this:
from testgui import unittestgui
...
if __name__ == '__main__':
unittestgui.main() # instead of unittest.main()
Here's a screenshot with TestGUI in operation, after calling python manage.py testgui:
Installation:
pip install testgui
To use with unittests you are set up.
To use django management command, add testgui to INSTALLED_APPS in settings.py:
INSTALLED_APPS = [
...
'testgui',
...
]
Dependencies:
- [django] [only required if you want to use it as a django management command]
- pywebview
Compatible with redgreenunittest.
License:
MIT license
Features:
- hot module reload* (You don't need to restart testing after you've changed your code.)
- hot test re-population (If you've changed the name of your test or added new tests, still don't need to restart testing.)
- normal debugging (You can still use PyCharm or your favorite IDE to debug your code, just as with manage.py test.)
- run selected test (You just click the icon next to a test or an app and your test runs, don't need to stop debugging.)
*note that unfortunately models.py and admin.py files cannot be hot-reloaded by Django's design. However, TestGUI warns you about this and it does not hot-reload these modules.
Metadata
Release files for testgui 0.3
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 |
|---|---|---|---|---|
| testgui-0.3.tar.gz | 356.7 kB | Without provenance | Details for testgui-0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| testgui-0.3-py3-none-any.whl | Python 3 | none | any | Details for testgui-0.3-py3-none-any.whl |
Total release size: 712.1 kB
Release files / testgui-0.3.tar.gz
| Download URL | testgui-0.3.tar.gz |
|---|---|
| Size | 356.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
734db4150be54acc927b5f468d64e7a9f530fc42cac647229c4ca5ef826efbed
|
|
BLAKE2b-256 checksum How to use checksums |
d7d2c8c7a13cc8df34399eb0ee5db2dc5d07c09d1417740357ff6723ee7975a9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
|
Release files / testgui-0.3-py3-none-any.whl
| Download URL | testgui-0.3-py3-none-any.whl |
|---|---|
| Size | 355.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
31f29e30f6b08d14b7848a9e01e8667566ba4fdb08c4f7ee77f6bf194788897a
|
|
BLAKE2b-256 checksum How to use checksums |
9e8b762254c6a88b8343b5dc16576fcd35b9d8243e1159e8bfa8a73c4233da8d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4
|
Security for testgui 0.3
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.