mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 15:36:21 -04:00
* chore: add poetry to handle the tests of the git extras * chore(ci): upgrade the deps version * chore(CONTRIBUTING): remove the test description |
||
|---|---|---|
| .. | ||
| conftest.py | ||
| helper.py | ||
| poetry.lock | ||
| pyproject.toml | ||
| README.md | ||
| test_authors.py | ||
| test_git_abort.py | ||
| test_git_alias.py | ||
| test_git_archive_file.py | ||
Test for git-extras
The git-extras has its own testcases now, and the more is on the way! So let's introduce it.
We choose python to help us to reach to other shore cause python is life saver.
The test part depends on:
- python >= 3.11
- poetry >= 1.7.1
- pytest >= 7.4
- gitpython >= 3.1.40
So the versions are higher than above is recommended.
How to test
- Install
poetry - Install the dependencies via
poetry install --no-root - Run
poetry run pytest
It is done or go without poetry,
- Install python >= 3.11
- Install pytest >= 7.4
- Install gitpython >= 3.1.40
- Run
pytest
The second way maybe blocked the some missing dependencies at someday, so the first one is recommended.