Skip to content

Conversation

@pushfoo
Copy link
Member

@pushfoo pushfoo commented Oct 4, 2024

TL;DR: Make it easier to find misbehaving rendering when tests are running

Why

There's an apparent drawing regression I discovered while working on #2385. This will help find things like this when the tests run.

Changes

  • Add make_window_caption helper in conftest.py
  • Add test_name fixture for use in function-scoped fixtures
  • Add caption argument to prepare_window in conftest.py
  • Use test_name fixture in function-scoped fixtures
  • Inline the test name fetching for static context (session-scoped) fixtures

* Add make_window_caption helper in conftest.py

* Add test_name fixture for use in function-scoped fixtures

* Add caption argument to prepare_window in conftest.py

* Use test_name fixture in function-scoped fixtures

* Inline the test name fetching for static context (session-scoped) fixtures
@pushfoo pushfoo merged commit 43190db into pythonarcade:development Oct 4, 2024
@pushfoo pushfoo deleted the show-test-names branch October 4, 2024 04:36
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.

1 participant