Skip to content

fonsecas72/assert-unicade

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Single Interface for assertions

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');

About

Facade for multiple assertion tools

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages