[FLOW3-general] Unit Testing
Christian Peters
mail.christianpeters at gmail.com
Tue Oct 16 09:26:36 CEST 2012
'sup!
I have started with my article this weekend, but got a bit stuck over the
following things:
- after rewieving some of the tests you've written, I wonder if you are
using the AccessibleMock to create the class under test itself. I guess
that's how you do dependency injection; but how is this a testable class
then? Is there somewhere some information about this Accessible Mock?
- I can't run the testsuite (phpunit claims that it can't redeclare
Autoloader.php). I assume this is because phpunit uses the autoloader for
itself. Is there any workaround for that or am I doing something wrong?
- I want to write about TYPO3.Blog, as it's used throughout the docs. I run
the migrate Script and it resulted in a strange structure (essentially
rebuilding the folder structure under /Classes). Is that correct? Is the
Blog example up to date anyway or would it be a better idea to use a
generic example?
It would be great if you guys/girls can help me out.
Best
Chris
More information about the FLOW3-general
mailing list