phpdbg with php7 always returns [nothing to execute!]

253 Views Asked by At

I'm just trying to start up with phpdbg, i have installed it using

apt-get install --yes php-phpdbg

I'm trying to run phpdbg using:

$ phpdbg -qrr vendor/bin/phpunit

and

$ phpdbg -qrr vendor/bin/phpunit ExampleTest.php

ExampleTest.php being

<?php

namespace Tests\Feature;

use Tests\TestCase;
use Illuminate\Foundation\Testing\WithoutMiddleware;
use Illuminate\Foundation\Testing\DatabaseMigrations;
use Illuminate\Foundation\Testing\DatabaseTransactions;

class ExampleTest extends TestCase
{
    public function testBasicTest()
     {
         $response = $this->get('/');
         $response->assertStatus(200);
     }
 }

also

$ phpdbg -qrr vendor/bin/phpunit --configuration phpunit.xml

Adding this lines to phpunit.xml

<logging>
    <log type="coverage-clover" target="tests/_reports/logs/clover.xml"/>
    <log type="coverage-html" target="tests/_reports/coverage" charset="UTF-8" yui="true" highlight="true" lowUpperBound="35" highLowerBound="70" />
    <log type="testdox-text" target="tests/_reports/testdox/executed.txt"/>
</logging>

But the output is always

[nothing to execute!]

0

There are 0 best solutions below