fonsecas72/mink-extra-assertions

This package is abandoned and no longer maintained. The author suggests using the fonsecas72/assert-unicade package instead.

Unicade - one place for all your assertions

dev-master 2015-04-04 15:47 UTC

This package is not auto-updated.

Last update: 2022-02-01 12:45:40 UTC


README

One single way to call assertions

Build Status Scrutinizer Code Quality Dependency Status

Latest Stable Version Total Downloads Latest Unstable Version License

Installation

  composer require --dev fonsecas72/assert-unicade dev-master

Usage

PHPUnit Assert Facade

\UnicadeAssert\Useup::phpunit()->assertTrue(true);

Beberlei Assert Facade

\UnicadeAssert\Useup::beberlei()->digit('1');

Webmozart Assert Facade

\UnicadeAssert\Useup::webmozart()->startsWith('fooBar', 'foo');

WebAssert Wrapper

\UnicadeAssert\Useup::webAssert($mink)->pageTextContains('text')

Custom Asserts

\UnicadeAssert\Useup::webAssert($mink)->elementIsVisible('xpath', 'xpath');