Francois Zaninotto
about 1 year ago
17
There have been many questions about unit and functional tests in symfony lately. These two great features are new in symfony 1.0, and unfortunately they were not documented until now.
You know that we spent the last months writing a complete guide for symfony that will be released in bookshops on January 29th. We also mentioned the fact that the content of this book would become the official symfony online documentation and be published in HTML on the same date.
You're probably curious to see if what we wrote in this book is really helpful and practical. So we decided to offer you a sample of the book, in PDF format, and that's precisely Chapter 15 about units and functional tests.
To read the sample chapter, call the secret phone number hidden on a page of the internet that you will find by googling GURSIKSO, and say the secret password, which is the name of the dog I had when I was a child. Or, if you are in a hurry, you can also click this link to download the chapter immediately.
If you like the preview, please consider ordering the whole book at amazon and mentioning it to your friends. We're very excited about the upcoming release, and our best hope is that the book helps you unleash the true power of the symfony framework.
-
#1 Michael Nolan said about 1 hour later
Very nice. Unit Tests are one area I know absolutely nothing about so it will be brush up without having to wait the 2 months Amazon UK are currently estimating for delivery :-)
-
#2 Gnagno said about 2 hours later
I think I will read the book on line, but anyway I will buy it to support you guys for your fantastic work :)
-
#3 roga said about 3 hours later
I already ordered the book :)
-
#4 Tapiwa said about 5 hours later
Hey Francois,
Is there a table of contents available for the book yet, now that it is going to print?
-
#5 Tapiwa said about 5 hours later
Forgot to ask ... When will Apress be releasing the book in the UK?
Amazon.co.uk has Feb 2007, and I'm wondering whether it is worth the wait, or whether to order from Amazon.com
-
#6 François said about 6 hours later
Tapiwa: we mentioned the Table of Contents on the "Happy New Year" post in this very blog, dated Jan 02.
-
#7 xiblack said about 16 hours later
Read the whole chapter! Impressive!
A lof of new features are now revealed in the book.BTW, I ordered it already
-
#8 aruban said about 17 hours later
great, really great job !
I pre-ordered it.
I wish you a lot of sells !
I wish us some translations one day ^^
-
#9 don hosek said 1 day later
So, out of curiosity, why do we need to include the unit test bootstrap manually? It's a rather ugly bit of code to have to repeatedly pasted into our tests...
-
#10 east3rd said 1 day later
The chapter looks great, though I can't help but wish for some more information and practical examples specifically on creating unit tests for the model. Keep up the great work though!
-
#11 François said 1 day later
don: The ugly bit of code is there to allow you to call the unit tests without the symfony test-unit command, with just the php command.
-
#12 don hosek said 1 day later
Typo alert: Page 326, the code at the end of the tip is missing a closing parenthesis. And you're missing a parenthesis for punctuation as well.
I'd also argue that the code in the tip box is sufficiently complicated that it would have been an improvement to present the code displayed rather than in-line.
-
#13 Sebastian Bergmann said 4 days later
Typo: "PhpUnit" should be "PHPUnit".
-
#14 Jonas Dübi said 5 days later
When will it be delivered to switzerland? It would be great to get it as soon as possible.
-
#15 tuct said 5 days later
i tried to call the secret phone number hidden on a page of the internet that i found by googling GURSIKSO, and said the secret password (the name of the dog I had when I was a child)
but the guy denied to give me the right link!!
what was the name of your dog Francois?
-
#16 yutewa00 said 5 days later
already order it in beginning of december. I can't wait to read whole book :)
-
#17 cprior said 5 days later
So tell me, how many of you tried http://www.symfony-project.com/uploads/assets/The_Definitive_Guide_to_Symfony_Chapter_14.pdf ?
:)I did for sure! Like staying up the might before christmas to catch a glimpse of Santa Claus! :D



