Skip to content

Silence empty Table test warnings#67

Open
rtlechow wants to merge 1 commit into
Zuluru:masterfrom
rtlechow:fix-ci-warnings
Open

Silence empty Table test warnings#67
rtlechow wants to merge 1 commit into
Zuluru:masterfrom
rtlechow:fix-ci-warnings

Conversation

@rtlechow

Copy link
Copy Markdown
Contributor
  • Add a markTestIncomplete('Not implemented yet.') placeholder method to
    the 19 bake-generated *TableTest stub classes that had no test methods
  • These were each producing a "No tests found in class" warning in CI (19
    warnings total)
  • Matches the convention already used by the other unimplemented Table tests
    (e.g. DivisionsTableTest); the warnings now report as incomplete instead

These bake-generated stub classes had no test methods, so PHPUnit emitted
19 "No tests found in class" warnings. Add a markTestIncomplete placeholder
to each, matching the convention used by the other unimplemented Table
tests.
@rtlechow
rtlechow marked this pull request as draft June 23, 2026 21:58
@rtlechow
rtlechow marked this pull request as ready for review June 24, 2026 16:33
@Zuluru

Zuluru commented Jun 30, 2026

Copy link
Copy Markdown
Owner

There were previously no tests for the initialize method, so this both adds the tests and then marks them as incomplete. Is that the intent? If so, why is it only adding them for some tables, not all of them? I'm not sure what tests of these functions would accomplish anyway, they'd just assert that static configuration is as expected? I'm not convinced (in general) of the usefulness of such tests.

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