asserthtml

PHPUnit Assertions for HTML Content

MIT License

Downloads
82.1K
Stars
6
Committers
1
asserthtml - v3.0.0 Latest Release

Published by ssddanbrown over 1 year ago

This is a new version that's intended to be compatible with PHPUnit 10.
PHP and symfony versions have been changed to suit.

Breaking Changes

  • Now requires PHP 8.1+
  • Now requires PHPUnit 10
  • Now requires Symfony 6

Other Changes

Switched from psalm to phpstan for internal static analysis.

asserthtml - v2.0.0

Published by ssddanbrown over 1 year ago

  • Updated the assertElementContains and assertElementNotContains methods so that the provided text is now tested against both the HTML and Plaintext content of the matched elements, whereas only the HTML was checked against before. Should not really be an issue unless you were specifically testing the the lack/existence of specific encoding (Related to #2).
asserthtml - v1.0.1

Published by ssddanbrown over 2 years ago

  • Fixed trait namespace.
asserthtml - v1.0.0

Published by ssddanbrown over 2 years ago

Initial publish

Package Rankings
Top 9.58% on Packagist.org
Badges
Extracted from project README
phpunit Latest Stable Version Total Downloads