Skip to content

Tui fixing tests and bugs#881

Open
F-Tomas wants to merge 67 commits intomainfrom
tui-fixing-tests-and-bugs
Open

Tui fixing tests and bugs#881
F-Tomas wants to merge 67 commits intomainfrom
tui-fixing-tests-and-bugs

Conversation

@F-Tomas
Copy link
Copy Markdown
Collaborator

@F-Tomas F-Tomas commented Oct 28, 2025

No description provided.

Copy link
Copy Markdown
Member

@HippocampusGirl HippocampusGirl left a comment

Choose a reason for hiding this comment

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

Thank you for this very important work! I have commented some of my ideas so that we don’t run into the same problems as last time.

# echo "***Running TUI tests***"
# py.test /home/runner/actions-runner/_work/HALFpipe/HALFpipe/tests/tui
echo "***Running TUI tests***"
py.test --forked /home/runner/actions-runner/_work/HALFpipe/HALFpipe/tests/tui
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think it would be important to run all tests in the same pytest command, because only that way correct code coverage is generated. Is there any way you could annotate only the TUI tests to be forked?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

this is a long lasting issue with the tests, if they are not running completely separately there is some interaction, it might be something with the main thread being persistent all the time, even setting fixtures with @function do not help, for now the only reliable way is either to forked this or to put all tests in a list and then run a bash loop executing essentially these tests one by one

Comment thread .github/workflows/continuous_integration.yml
Comment thread tests/tui/spec_file_for_load_test/spec_reference.json
Comment thread tests/tui/snapshot_tests/test_dual_reg.py
Comment thread tests/tui/conftest.py Outdated
@F-Tomas
Copy link
Copy Markdown
Collaborator Author

F-Tomas commented Oct 30, 2025

this branch also contains some new features, like now the directory trees inside the tui use the binding path, so that users do not see everything anymore in the tree

@codecov
Copy link
Copy Markdown

codecov Bot commented Oct 30, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 58.27%. Comparing base (5d97c46) to head (721d3d9).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #881   +/-   ##
=======================================
  Coverage   58.27%   58.27%           
=======================================
  Files         257      257           
  Lines       17278    17278           
  Branches     2744     2744           
=======================================
  Hits        10068    10068           
  Misses       6464     6464           
  Partials      746      746           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@F-Tomas
Copy link
Copy Markdown
Collaborator Author

F-Tomas commented Dec 19, 2025

i made the changes that you suggested, it should be now stable but we will now know only if we start to using these tests with CI

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