[TYPO3-extbase-kickstarter] ExtensionBuilder Overwrites Unit Tests
Nicolas de Haen
typo3 at ndh-websolutions.de
Mon Sep 24 11:43:05 CEST 2012
Hi Nikos,
did you try "skip" instead of "merge"?
"Merge" is not supported for Unit Tests.
regards,
Nico
Am 24.09.12 11:35, schrieb Nick:
> Hi,
>
> I have just recently started using ExtensionBuilder to help me get started writing Extbase extensions and in the process wanted to develop and add my own Unit tests for the classes generated, Domain and Controller. Unfortunately when regenerating the model after making changes in ExtensionBuilder my unit tests get lost/overwritten.
>
> I have searched to see if there is a work around or known issue for this but so far had no luck :(
>
> I have also tried (hoping for success) the following settings in settings.yaml for ExtensionBuilder
>
> Tests:
> Unit:
> Controller: merge
> Domain:
> Model: merge
>
> Unfortunately this didn't work
>
> I then thought I could create a new test class per Domain/Controller object for my additional tests but these don't get picked up by PHPUnit, I am not exactly sure why perhaps this could be possible work with a setting somewhere?
>
> I would really appreciate some ideas/workarounds ,
>
> Best regards
>
> Nikos
>
--
Nico de Haen
ndh websolutions
Webprogrammierung, OpenSource, Typo3
http://www.ndh-websolutions.de
More information about the TYPO3-project-extbase-kickstarter
mailing list