[TYPO3-mvc] PHPUnit & PHPStorm & Extbase

Henjo Hoeksma me at henjohoeksma.nl
Thu Mar 1 16:30:21 CET 2012


Hi Claus,

thanks. Both look promising.
Any reference on your first suggestion? Or will Git doc suffice?

Kind regards,

Henjo

Problems are small because we learned how to deal with them.
Problems are big because we need to learn how to deal with them.


On Thu, Mar 1, 2012 at 15:47, Claus Due <claus at wildside.dk> wrote:

> Hi Henjo,
>
> Two quick suggestions:
>
> 1) Use Git hooks so unit tests will run when you commit locally. This is
> very easy.
>
> 2) Try this one:
> http://www.cedric-ziel.com/blog/artikel/extbase-erweiterungen-mit-ant-build-bcript-testen.html
>
> - it's written for ANT but should be able to run PHPunit.
>
> Cheers,
> Claus
>
> On Mar 1, 2012, at 3:39 PM, Henjo Hoeksma wrote:
>
> > Hi list,
> >
> > I would like to make the switch from running unit tests from inside a
> TYPO3
> > installation to running them from within PhpStorm.
> >
> > I found several resources on achieving this:
> >
> > [1] This suggests a full typo3 setup (tested, and works but not
> completely
> > the way I like - see below)
> > [2] This is for use in FLOW3 applications (not tested, seen in action and
> > would like something like this for Extbase extensions)
> >
> > I have my projects mostly not directly attached in a full TYPO3 system,
> > that is not where I am working from. After a commit that I make I sync it
> > to my local development instance. I would like to run the tests before my
> > commit though.
> >
> > Any suggestions on how to set this up like [2] but working for standalone
> > extbase extensions? Or should I really go back to working from within my
> > local development sites?
> >
> > [1]
> >
> http://wiki.typo3.org/Using_the_PHPUnit_extension_for_TYPO3_v4_in_PhpStorm
> > [2]
> >
> http://blog.k-fish.de/2011/12/setting-up-phpstorm-for-use-as-flow3_19.html
> >
> > Thanks in advance for your thoughts! Keeping to improve workflows!
> >
> > Kind regards,
> >
> > Henjo
> >
> > Problems are small because we learned how to deal with them.
> > Problems are big because we need to learn how to deal with them.
> > _______________________________________________
> > TYPO3-project-typo3v4mvc mailing list
> > TYPO3-project-typo3v4mvc at lists.typo3.org
> > http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc
>
> _______________________________________________
> TYPO3-project-typo3v4mvc mailing list
> TYPO3-project-typo3v4mvc at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc
>


More information about the TYPO3-project-typo3v4mvc mailing list