mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-06-29 05:56:14 +02:00
Implement editor-related steps in pytest-bdd
- Implement mock editor fixture - Add fixture to keep track of editor state - Implement various steps to check editor state Co-authored-by: Micah Jerome Ellison <micah.jerome.ellison@gmail.com>
This commit is contained in:
parent
ce64d7973b
commit
3ddfb4d594
6 changed files with 475 additions and 133 deletions
|
@ -51,8 +51,9 @@ toml = ">=0.10"
|
|||
pyflakes = ">=2.2.0"
|
||||
pytest = ">=6.2"
|
||||
pytest-bdd = "^4.0.1"
|
||||
pytest-icdiff = "^0.5"
|
||||
yq = ">=2.11"
|
||||
ipdb = ">=0.13"
|
||||
pytest-clarity = "^0.3.0-alpha.0"
|
||||
|
||||
[tool.poetry.scripts]
|
||||
jrnl = 'jrnl.cli:cli'
|
||||
|
@ -66,9 +67,15 @@ force_sort_within_sections = true
|
|||
|
||||
[tool.pytest.ini_options]
|
||||
minversion = "6.0"
|
||||
required_plugins = [
|
||||
"pytest-bdd"
|
||||
]
|
||||
markers = [
|
||||
"todo",
|
||||
]
|
||||
addopts = [
|
||||
"--pdbcls=IPython.terminal.debugger:Pdb"
|
||||
]
|
||||
|
||||
filterwarnings = [
|
||||
"ignore::DeprecationWarning",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue