8000 Removing the development dependency on corneltek/phpunit-testmore by morozov · Pull Request #1089 · phpbrew/phpbrew · GitHub
[go: up one dir, main page]

Skip to content

Removing the development dependency on corneltek/phpunit-testmore#1089

Merged
morozov merged 1 commit intophpbrew:masterfrom
morozov:remove-test-more
Dec 11, 2019
Merged

Removing the development dependency on corneltek/phpunit-testmore#1089
morozov merged 1 commit intophpbrew:masterfrom
morozov:remove-test-more

Conversation

@morozov
Copy link
Contributor
@morozov morozov commented Dec 11, 2019

The package is unmaintained and is incompatible with PHPUnit 7 and newer PHPUnit versions which enforce scalar parameter types in their APIs.

By helping to save a few keystrokes (which is the job for an IDE), it promotes too generic assertions like ok() and not_ok() while the PHPUnit's best practices suggest the opposite:

Use the most specific assertion available to express what you want to test

The package is unmaintained and is incompatible with PHPUnit 7 and newer PHPUnit versions which enforce scalar parameter types in their APIs.

By helping to save a few keystrokes (which is the job for an IDE), it promotes too generic assertions like `ok()` and `not_ok()` while the PHPUnit's [best practices][1] suggest the opposite:

> Use the most specific assertion available to express what you want to test

[1]: http://assets.en.oreilly.com/1/event/45/PHPUnit%20Best%20Practices%20Presentation.pdf
@morozov morozov added this to the Release 1.25.0 milestone Dec 11, 2019
@morozov morozov self-assigned this Dec 11, 2019
@morozov morozov merged commit 6e67057 into phpbrew:master Dec 11, 2019
@morozov morozov deleted the remove-test-more branch December 11, 2019 20:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments

0