Introduced environment variable HEADLESS set to True for integration tests.
Git Ignore Changes (.gitignore):
Updated to include more specific patterns for Docker and Python-related files.
Contributing Guide Changes (CONTRIBUTING.md):
Added details on running tests in headless mode and provided examples of how to modify test configurations and run specific tests using pytest.
Makefile Changes (Makefile):
Updated the integration-tests and unit-tests targets with new commands for test execution and coverage reporting.
Test Configuration Changes (conftest.py):
Added a new pytest option for headless mode and provided a fixture to handle this configuration.
Feature Test Changes (uk_bin_collection/tests/features/validate_council_outputs.feature):
Updated the feature for validating council outputs, including changes to how Selenium URL and mode are set.
Step Definitions and Test Helpers Changes (uk_bin_collection/tests/step_defs/step_helpers/file_handler.py and uk_bin_collection/tests/step_defs/test_validate_council.py):
Enhanced JSON file loading with error handling and updated logging.
Refactored test steps to incorporate changes in context management and handling of the headless mode.
Other Test Changes:
Various updates across test scripts to refine the use of mock data, improve error handling, and adjust to configuration changes.
This summary captures major changes across Docker configurations, JSON settings, testing setups, and utility scripts, indicating an overhaul aimed at improving development environments, testing strategies, and configuration management.
Here's the rewritten summary of the diff output:
Dockerfile Changes (
.devcontainer/dev.Dockerfile
):ukbc-dev-base
as a new base image.PYTHON_VIRTUALENV_HOME
andPOETRY_VERSION
.pipx
..bashrc
for PATH./ukbc_build
as the working directory.FROM
instruction now referencesukbc-dev-base
to build theukbc-dev-dependencies
image.JSON Configuration Changes (
.devcontainer/devcontainer.json
):Docker Compose Changes (
.devcontainer/docker-compose.yml
):devcontainer
,chrome
,chrome_video
, andselenium-hub
.devcontainer
with build context and set it to use an image built from the Dockerfile.devnet
configured as a bridge.Docker Ignore Changes (
.dockerignore
):GitHub Workflow Changes (
.github/workflows/behave.yml
):HEADLESS
set toTrue
for integration tests.Git Ignore Changes (
.gitignore
):Contributing Guide Changes (
CONTRIBUTING.md
):pytest
.Makefile Changes (
Makefile
):integration-tests
andunit-tests
targets with new commands for test execution and coverage reporting.Test Configuration Changes (
conftest.py
):pytest
option for headless mode and provided a fixture to handle this configuration.Feature Test Changes (
uk_bin_collection/tests/features/validate_council_outputs.feature
):Step Definitions and Test Helpers Changes (
uk_bin_collection/tests/step_defs/step_helpers/file_handler.py
anduk_bin_collection/tests/step_defs/test_validate_council.py
):Other Test Changes:
This summary captures major changes across Docker configurations, JSON settings, testing setups, and utility scripts, indicating an overhaul aimed at improving development environments, testing strategies, and configuration management.