Skip to content

amtgard/phpunit-extensions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Amtgard PHPUnit Extensions

Adds self::assertThrows(string $throwableClass, callable $callable) and self::assertDoesNotThrow(callable $callable) assertions.

assertThrows()

Takes a throwable classname. The callable must throw the exception and the exception class must match.

assertDoesNotThrow()

The callable must not throw.

About

Extensions to PHPUnit

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages