Skip to content
This repository has been archived by the owner on Sep 14, 2018. It is now read-only.

phpunit failed #79

Open
araneta opened this issue Jan 24, 2017 · 0 comments
Open

phpunit failed #79

araneta opened this issue Jan 24, 2017 · 0 comments

Comments

@araneta
Copy link

araneta commented Jan 24, 2017

I tried to run phpunit . from the root of this code ( /home/aldo/projects/university/apps/rest-server/silex/) but i got this error:
PHP Fatal error: Class 'Monolog\TestCase' not found in /home/aldo/projects/university/apps/rest-server/silex/vendor/monolog/monolog/tests/Monolog/Formatter/FlowdockFormatterTest.php on line 18
here is my conf

<?xml version="1.0" encoding="UTF-8"?>

<phpunit
    backupGlobals               = "false"
    backupStaticAttributes      = "false"
    colors                      = "true"
    convertErrorsToExceptions   = "true"
    convertNoticesToExceptions  = "true"
    convertWarningsToExceptions = "true"
    processIsolation            = "false"
    stopOnFailure               = "false"
    syntaxCheck                 = "false"
    bootstrap                   = "vendor/autoload.php">

    <testsuites>
        <testsuite name="Test Suite">
            <directory>src/</directory>
            <directory>tests/</directory>
        </testsuite>
    </testsuites>

</phpunit>

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant