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
<?php

class KalkulackaTest extends \PHPUnit_Framework_TestCase {

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

}


soubor phpunit.xml

Code: Select all
<phpunit>
</phpunit>


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
misaz
 
Posts: 1
Joined: April 29th, 2017, 7:06 pm

Return to PHP Tools

Who is online

Users browsing this forum: No registered users and 4 guests

cron

User Control Panel

Login

Who is online

In total there are 4 users online :: 0 registered, 0 hidden and 4 guests (based on users active over the past 5 minutes)
Most users ever online was 62 on January 7th, 2012, 10:54 pm

Users browsing this forum: No registered users and 4 guests
Phalanger