No tests found

PHP Tools [?] extends Visual Studio with set of advanced features to work more efficiently with PHP code.

No tests found

Postby misaz » April 29th, 2017, 7:11 pm

Dobrý den,
založil jsem si PHP projekt, a přidal do něj soubor KalkulackaTest.php

Code: Select all

class KalkulackaTest extends \PHPUnit_Framework_TestCase {

    * @test
   function testX() {
      $this->assertEquals(3 + 2, 5);


soubor phpunit.xml

Code: Select all

klikl na něj pravým a zatrhl Active PHPUnit Configuration. Nicméně žádný Test mi to nenašlo. Je ještě něco co musím udělat aby to fungovalo? Do okna Output, sekce Tests to při ukládání souboru vypisuje

Code: Select all
------ Discover test started ------
========== Discover test finished: 0 found (0:00:00,0105069) ==========

mám Visual Studio 2017, PHP Tools For Visual Studio 1.23.9750
Posts: 1
Joined: April 29th, 2017, 7:06 pm

Return to PHP Tools

Who is online

Users browsing this forum: mhpcc and 6 guests

User Control Panel


Who is online

In total there are 7 users online :: 1 registered, 0 hidden and 6 guests (based on users active over the past 5 minutes)
Most users ever online was 89 on October 15th, 2018, 4:06 pm

Users browsing this forum: mhpcc and 6 guests