Skip to content

Conversation

@amilcarlucas
Copy link
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings January 7, 2026 23:51
@amilcarlucas amilcarlucas force-pushed the ignore_coverage_in_non_production_code branch from f7fd87b to 4ca949b Compare January 7, 2026 23:52
@amilcarlucas amilcarlucas merged commit 75874a1 into master Jan 7, 2026
4 of 5 checks passed
@amilcarlucas amilcarlucas deleted the ignore_coverage_in_non_production_code branch January 7, 2026 23:53
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR enables pytest to discover and run BDD (Behavior-Driven Development) test files by adding the tests/bdd_*.py pattern to the python_files configuration in pytest.ini. This allows three existing BDD test files (bdd_backend_filesystem_program_settings_port_save.py, bdd_battery_monitor.py, and bdd_frontend_tkinter_show.py) that were previously not being discovered or executed to now be run as part of the test suite.

Note: The PR title "Ignore coverage in non production code" is misleading - this change actually enables test execution for BDD files rather than ignoring coverage. The change integrates BDD tests into the test suite, ensuring they contribute to coverage metrics.

Key changes:

  • Added tests/bdd_*.py pattern to pytest's test discovery configuration, enabling BDD test files to be discovered and executed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants