Comments (3)
It's documented here: http://www.phpunit.de/manual/3.6/en/appendixes.annotations.html#appendixes.annotations.expectedExceptionMessage
from phpunit-documentation.
It shouldn't only be mentioned in the "Appendix". People usually read the main chapters to learn how to use phpunit and use the appendix only to lookup something they already know the name of for reference. It's luck if they stumble about this nice addition to @expectedMessagel then.
from phpunit-documentation.
I agree @lathspell. Actually, the entire section on expected exceptions is a bit incomplete. I'll update it soon.
from phpunit-documentation.
Related Issues (20)
- No up top button HOT 1
- Malformed jUnit file with multiple Test Suite HOT 1
- namespace should be used before the use statement in example 3.1: Named data sets. HOT 1
- Document limitations related to the fact that closures cannot be serialized HOT 1
- Document that execution of a test that raises a PHPUnit warning is aborted HOT 1
- (Hopefully) Everything that is wrong with PHPUnit's documentation HOT 10
- How about that? "The Mock Builder API can be[...]" instead HOT 1
- 建议在http://www.phpunit.cn/manual/current/zh_cn/textui.html 此页面上加一些样例,大多数人关心怎么样运行所有测试。 HOT 4
- Document "Test code or tested code did not (only) close its own output buffers" HOT 1
- Add @usesDefaultClass to documentation HOT 1
- open a download link in phpunit selenium test
- can't fund the class Guestbook HOT 1
- Obscure reaction on DataProvider exception HOT 2
- Add willReturnOnConsecutiveCalls to documentation HOT 1
- Confusion around PHPUnit_Extensions_TestDecorator since it no longer exists HOT 1
- When it comes to the database part of this doc, it's quite confusing. HOT 1
- Add missing documentation for "@depends shallowclone <method>" HOT 1
- Use assertSame() instead of assertEquals() where possible HOT 1
- doesNotPerformAssertions is not documented HOT 1
- Testdox attribute in phpunit.xml HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phpunit-documentation.