Skip to content

Commit

Permalink
Relocated pytest configuration to pyproject.toml
Browse files Browse the repository at this point in the history
The pytest configuration previously contained in pytest.ini has been migrated to pyproject.toml in order to go along with the move to use Poetry for dependency management in the project. The pytest configuration in 'my-pytest.ini' remains the same to ensure backward compatibility for those still depending on the .ini files.
  • Loading branch information
lipemorais committed Jan 15, 2024
1 parent a002945 commit fcba2a3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
File renamed without changes.
6 changes: 6 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,9 @@ requests-mock = "^1.11.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

[tool.pytest.ini_options]
python_files = ["test_*.py", "*_tests.py"]
addopts = "-vv --cov=financas_automatizadas --durations=5 --disable-warnings"
testpaths = ["tests"]
console_output_style = "progress"

0 comments on commit fcba2a3

Please sign in to comment.