Go to file
Timo Tijhof 56c0f6313e tests: Widen @covers tags in SpecsTest
> We lose useful coverage and waste valuable time on keeping tags
> accurate through refactors (or worse, forget to do so).
>
> Tracking tiny per-method details wastes time in realizing (and
> fixing) when people inevitably don't keep them in sync, and time
> lost in finding uncovered code to write tests to realize it was
> already covered but "not yet claimed".
>
> Given all used methods are de-facto and liberally claimed, and
> that we keep the coverage limited to the subject class, this
> maintains the spirit and intent. PHPUnit offers a more precise
> tool when you need it (i.e. when testing legacy monster classes),
> but for well-written code, the class-wide tag suffices.

Ref https://gerrit.wikimedia.org/r/q/owner:Krinkle+is:merged+message:Widen

Change-Id: I5a5420df1389338644a099ebfd072063653e6849
2024-04-15 16:36:36 +01:00
.phan Use HookHandlers for UserMerge hook 2023-08-16 09:44:30 +02:00
db_patches Drop some ancient schema changes 2023-12-22 02:07:48 +00:00
i18n Localisation updates from https://translatewiki.net. 2024-04-11 09:19:58 +02:00
includes Fix new Phan errors 2024-04-10 23:12:28 +00:00
maintenance build: Updating mediawiki/mediawiki-codesniffer to 43.0.0 2024-03-16 18:53:05 +00:00
modules Remove $wgAbuseFilterBlockedExternalDomainsNotification and related code 2024-02-20 23:01:02 +00:00
tests tests: Widen @covers tags in SpecsTest 2024-04-15 16:36:36 +01:00
.eslintignore build: Update linters 2023-11-08 14:05:03 +00:00
.eslintrc.json build: Update linters 2022-03-17 22:19:08 +00:00
.gitignore Add config for Selenium and basic tests 2019-09-17 16:23:07 +00:00
.gitreview
.phpcs.xml build: Updating mediawiki/mediawiki-codesniffer to 43.0.0 2024-03-16 18:53:05 +00:00
.stylelintrc.json build: Update linters 2023-11-08 14:05:03 +00:00
AbuseFilter.alias.php build: Updating mediawiki/mediawiki-codesniffer to 43.0.0 2024-03-16 18:53:05 +00:00
CODE_OF_CONDUCT.md build: Updating mediawiki/phan-taint-check-plugin to 1.4.0 2018-09-01 05:29:54 +00:00
composer.json build: Updating dependencies 2024-03-30 13:14:05 +00:00
COPYING
extension.json logging: Inject services into AbuseLogHitFormatter 2024-03-29 21:53:34 +01:00
Gruntfile.js build: Run stylelint for less file 2023-11-28 20:06:41 +01:00
package-lock.json build: Updating dependencies 2024-03-30 13:14:05 +00:00
package.json build: Updating dependencies 2024-03-30 13:14:05 +00:00