Comments (3)
This is absolutely necessary.
when I was a newbie to test, I had read a book about TDD,and had read PHPUnit's manual, so I had got a basic idea of TDD and I knew PHPUnit's features A,B,C,D... but when I tried to start test my project, sadly, I found that I did not know where to start. "How to get PHPUnit work together with my project? How to organize tests? How to write tests? How to run tests? ..." there was so many HOW TO. I spent a lot of time on try-and-error to get answers.
A walk through guide on a simple small project which have about 2 or 3 files will be very helpful. From such a example, we can learned how to write and organize tests for a project(instead of for a simple piece of code),and how to run tests,how to read result and get feedback.
from phpunit-documentation.
+1. Current doc is detailed but a bit daunting by now.
Especially the info on 'where to put tests and then run them' is dispersed in many chapters (imho)
from phpunit-documentation.
http://phpunit.de/getting-started.html exists now.
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.