mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-06-28 21:46:13 +02:00
Implement datetime handling in pytest-bdd
- This was awful and convoluted Co-authored-by: Micah Jerome Ellison <micah.jerome.ellison@gmail.com>
This commit is contained in:
parent
cda07bf8d9
commit
4aabb73847
16 changed files with 133 additions and 87 deletions
13
Makefile
13
Makefile
|
@ -21,9 +21,16 @@ lint: ## Check style with various tools
|
|||
poetry run pyflakes jrnl tests
|
||||
poetry run black --check --diff .
|
||||
|
||||
test: lint ## Run unit tests and behave tests
|
||||
poetry run pytest
|
||||
poetry run behave --no-skipped --format progress2
|
||||
unit: # unit tests
|
||||
poetry run pytest tests/unit
|
||||
|
||||
e2e: # end-to-end tests
|
||||
poetry run pytest tests/step_defs --gherkin-terminal-reporter --tb=native --diff-type=unified
|
||||
|
||||
e2e-debug: # end-to-end tests
|
||||
poetry run pytest tests/step_defs --gherkin-terminal-reporter --tb=native --diff-type=unified -x -vv
|
||||
|
||||
test: lint unit e2e ## Run unit tests and behave tests
|
||||
|
||||
build:
|
||||
poetry build
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue