Jump to:

4873 Posts in 7242 Topics by 1471 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » dev/build fails cant load PHPUnit

Getting SilverStripe up and running on your computer and on your web server.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 367 Views
  • ivo
    Avatar
    Community Member
    19 Posts

    dev/build fails cant load PHPUnit Link to this post

    i installed silverstripe3.0.3 and made a composer update to install a additional module.

    Now my build fails with this message:

    [Warning] require_once(PHP/CodeCoverage.php) [function.require-once]: failed to open stream: No such file or directory
    Line 23 in /home/.../framework/dev/phpunit/PhpUnitWrapper_3_5.php

    Any idea what that could be?

  • ivo
    Avatar
    Community Member
    19 Posts

    Re: dev/build fails cant load PHPUnit Link to this post

    i found the following:
    when you download silverstripe3 as zip from the website, it doesnt include tests.

    when you make a composer update then, it will update framework & sapphire and fetch also the test dirs.
    this will make the build process want to start the tests and if you dont have phpunit fully installed, it will fail, i assume.

    could this be?
    is phpunit a dependency for silverstripe3?

  • Van
    Avatar
    Administrator
    25 Posts

    Re: dev/build fails cant load PHPUnit Link to this post

    Hi Ivo,

    If you're going to do testing on SS3, I believe you will need phpunit.

    367 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.