[TYPO3-extbase-kickstarter] ExtensionBuilder Overwrites Unit Tests

Nick nick at jamalade.com
Mon Sep 24 11:35:03 CEST 2012


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


More information about the TYPO3-project-extbase-kickstarter mailing list