Add your description here
Project description
django-resume
A pluggable framework for managing your resume
Installation
pip install django-resume
Running Tests
pytest
Run mypy
uv run mypy src
Run coverage
coverage run -m pytest
coverage report
Run the javascript tests
npx vitest run
Run end to end tests
Install browsers for playwright:
playwright install
Create a testuser for the e2e tests user, using the password password
:
DJANGO_SUPERUSER_USERNAME=playwright \
DJANGO_SUPERUSER_EMAIL=playwright@example.com \
DJANGO_SUPERUSER_PASSWORD=password \
python manage.py createsuperuser --noinput
Start the development server like this to use the playwright settings (mainly setting DEBUG = True to have the static files served by Django):
python manage.py runserver 0.0.0.0:8000 --settings=tests.playwright_settings
The base_url
is set via tool.pytest.ini_options
in pyproject.toml
. Run the tests with:
pytest e2e_tests
Run playwright tests in head-full mode:
pytest e2e_tests --headed --slowmo 1000
Cleanup the test database after running the tests:
python manage.py remove_all_resumes
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
django_resume-0.1.5.tar.gz
(10.0 MB
view details)
Built Distribution
File details
Details for the file django_resume-0.1.5.tar.gz
.
File metadata
- Download URL: django_resume-0.1.5.tar.gz
- Upload date:
- Size: 10.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.4.30
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f1640664a2720a1e27a5cc9cf8c494f5c0499ee6b635666d86a7cfaa8406befe |
|
MD5 | 0ae77f56e20bb87abeac470c6b5c931c |
|
BLAKE2b-256 | 798c0ff5bd73368911d055fa762ed706038f7b5989e822aea3d4062d2da73d18 |
File details
Details for the file django_resume-0.1.5-py3-none-any.whl
.
File metadata
- Download URL: django_resume-0.1.5-py3-none-any.whl
- Upload date:
- Size: 1.2 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.4.30
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a05ec52af738c17ca9456a925156bd262b9b0f33fcb6e7a978ead552de30d6f |
|
MD5 | 51222ae263ab6b919b5bb24b691ae335 |
|
BLAKE2b-256 | 7024eff97c198eafe89ffa96b05ccd90aaa37ad4bec70a8ea9ea3141b5b0d458 |