Setting up a development environment for Thirty Bees



  • I am trying to set up a development environment for Thirty Bees.

    As far as I am aware of, I have succesfully set up Vagrant, Xdebug and PhpStorm ;-)

    But I have not been able to figure out how to install PHPUnit (Do I need it?).

    So I am currently stucked with this error message:

    0_1500230394715_upload-1d4f62cd-09fe-4a11-88ac-7cb5462f43e2

    Can someone guide me in the right direction?


  • administrators

    No, you don’t need PHPUnit. We are also not using it directly, so I have no idea where you’ve got that from?

    We are using Codeception (http://codeception.com/) instead, which uses PHPUnit for some tests, but there is no interaction with PHPUnit directly. I see that you have a recent enough PhpStorm version for Codeception. They claim that you can easily use Codeception within Phpstorm: https://www.jetbrains.com/phpstorm/whatsnew/#v2017-1-codeception-support
    but I haven’t had enough time to figure that out, yet.



  • Thanks for the tip, Michael. I will look into codeception. But if you don’t use PhpStorm, which IDE do you then use?


  • administrators

    I use PHPstorm


  • Global Moderator

    I am trying to set up a development environment for Thirty Bees.

    sudo apt-get install apache2 php-fpm mysql geany git gitk

    So far I felt no need for all this fancy stuff. Testsuite runs off the command line, but is not really needed.



  • It was actually not my intention to start using a test framework. I just want to use a debugger.

    Regarding the PHPUnit error I had used a wrong run/debug configuration.

    Now I have set it up like shown below. It’s probably not quite correct, so a few hints would be nice.

    0_1500322144774_upload-42bf7b22-3924-4a42-8512-60ca8d8a0408


Log in to reply
 

Looks like your connection to thirty bees forum was lost, please wait while we try to reconnect.