wiki.techinc.nl/tests/phpunit/includes/deferred
Timo Tijhof 87846c95a6 deferred: Widen @covers annotations in unit tests
Follows-up I98d2ecc987, I7555c9b6b5, I6d845bdfbb, I69b5385868, I4c7d826c7e,
I1287f3979a, which widened the `@covers` annotations of other suites:

> We lose useful coverage and spend valuable time keeping these tags
> accurate through refactors (or worse, forget to do so).
>
> I've audited each test to confirm it is a general test of the
> subject class, where adding any called methods would be an accepted
> change, thus widening it is merely a no-op that clarifies intent
> and reduces maintenance. I am not disabling the "only track coverage
> of specified subject" benefits, nor am I claiming coverage in
> in classes outside the subject under test.
>
> Tracking tiny details per-method wastes time in keeping references
> in sync during refactors, time to realize (and fix) when people
> inevitably don't keep them in sync, time lost in finding uncovered
> code to write tests for only to realize it was already covered but
> not yet claimed, etc.

Change-Id: I133c7b707aab7ceb4f2ecd3be38bd4bd1b194143
2023-08-22 00:14:20 +01:00
..
CdnCacheUpdateTest.php deferred: Widen @covers annotations in unit tests 2023-08-22 00:14:20 +01:00
DeferredUpdatesTest.php deferred: Widen @covers annotations in unit tests 2023-08-22 00:14:20 +01:00
LinksDeletionUpdateTest.php rdbms: Consolidate logger channels into one 2023-01-03 22:46:38 +00:00
LinksUpdateTest.php deferred: Widen @covers annotations in unit tests 2023-08-22 00:14:20 +01:00
RefreshSecondaryDataUpdateTest.php phpunit: Do not call addCoreDBData if the test doesn't need the DB 2023-07-25 11:59:31 +00:00
SearchUpdateTest.php deferred: Widen @covers annotations in unit tests 2023-08-22 00:14:20 +01:00
SiteStatsUpdateTest.php deferred: Widen @covers annotations in unit tests 2023-08-22 00:14:20 +01:00