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.7.tar.gz
(10.0 MB
view details)
Built Distribution
File details
Details for the file django_resume-0.1.7.tar.gz
.
File metadata
- Download URL: django_resume-0.1.7.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 | 9c3977c9ca1552b5fa3f609e5d8190153c6c71e4c2fac1fe561a12494205ab8f |
|
MD5 | ae030d197393c6ff3b6043f842c543b9 |
|
BLAKE2b-256 | 6882e62b4580807466ea50c09984fcb403d99ccec7bdfbb2a4fe638387523985 |
File details
Details for the file django_resume-0.1.7-py3-none-any.whl
.
File metadata
- Download URL: django_resume-0.1.7-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 | f8a8bc5e0d46cefd0dafafa31a42fd55960f535b4b019429439849557561bd15 |
|
MD5 | 6997f4aa3db2fddfa415b8732cf5ff6b |
|
BLAKE2b-256 | cc88bac8957bf41c4c2137cc6ac8bb005f6a4ec186e9ea6735341ae9f63a7302 |