feat: Add coverage, iniconfig, pluggy, pygments, pytest, pytest-cov, and pytest-mock as dependencies
- Added coverage version 7.10.1 with multiple wheel distributions. - Added iniconfig version 2.1.0 with its wheel distribution. - Added pluggy version 1.6.0 with its wheel distribution. - Added pygments version 2.19.2 with its wheel distribution. - Added pytest version 8.4.1 with its wheel distribution and dependencies. - Added pytest-cov version 6.2.1 with its wheel distribution and dependencies. - Added pytest-mock version 3.14.1 with its wheel distribution and dependencies. - Updated dev-dependencies to include coverage, pytest, pytest-cov, and pytest-mock. - Updated requires-dist to specify minimum versions for coverage, pytest, pytest-cov, and pytest-mock.
This commit is contained in:
14
Makefile
14
Makefile
@@ -35,7 +35,19 @@ stop: ## Stop the application
|
||||
docker-compose down
|
||||
test: ## Run the tests
|
||||
@echo "Running the tests..."
|
||||
docker-compose exec ${TARGET} pipenv run pytest -v --tb=short
|
||||
.venv/bin/python -m pytest tests/ -v --cov=src --cov-report=term-missing --cov-report=html:htmlcov
|
||||
test-unit: ## Run unit tests only
|
||||
@echo "Running unit tests..."
|
||||
.venv/bin/python -m pytest tests/ -v --tb=short
|
||||
test-coverage: ## Run tests with detailed coverage report
|
||||
@echo "Running tests with coverage..."
|
||||
.venv/bin/python -m pytest tests/ --cov=src --cov-report=html:htmlcov --cov-report=xml --cov-report=term-missing
|
||||
test-watch: ## Run tests in watch mode
|
||||
@echo "Running tests in watch mode..."
|
||||
.venv/bin/python -m pytest-watch tests/ -- -v --cov=src
|
||||
test-debug: ## Run tests with debug output
|
||||
@echo "Running tests with debug output..."
|
||||
.venv/bin/python -m pytest tests/ -v -s --tb=long --cov=src
|
||||
lint: ## Run the linter
|
||||
@echo "Running the linter..."
|
||||
docker-compose exec ${TARGET} pipenv run pre-commit run --all-files
|
||||
|
||||
Reference in New Issue
Block a user