Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > it.comp.www.php > #21687

Re: Class 'Symfony\Bundle\FrameworkBundle\Test\WebTestCase' not found

From Simonex <simo@sumo.it>
Newsgroups it.comp.www.php
Subject Re: Class 'Symfony\Bundle\FrameworkBundle\Test\WebTestCase' not found
Date 2017-09-04 11:44 +0200
Organization Aioe.org NNTP Server
Message-ID <ooj797$19ti$1@gioia.aioe.org> (permalink)
References <on6mla$1eo8$1@gioia.aioe.org>

Show all headers | View raw


Il 18/08/2017 14:30, Simonex ha scritto:
> + cat SelTest.php
> <?php
> use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
> 
> class SelTest extends WebTestCase{
>      function testAbc(){
>          $client = static::createClient();
> 
>          $crawler = $client->request('GET', '/post/hello-world');
> 
>          $this->assertGreaterThan(
>              0,
>              $crawler->filter('html:contains("Hello World")')->count()
>          );
>     }
> }
> 
> + phpunit SelTest
> PHP Fatal error:
>    Class 'Symfony\Bundle\FrameworkBundle\Test\WebTestCase' not found
> 
> Cosa devo installare per usuffruire della classe
> Symfony\Bundle\FrameworkBundle\Test\WebTestCase?

Niente?
Mi potete suggerire almeno strumenti alternativi per eseguire i test 
funzionali.

Back to it.comp.www.php | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Class 'Symfony\Bundle\FrameworkBundle\Test\WebTestCase' not found Simonex <simo@sumo.it> - 2017-08-18 14:30 +0200
  Re: Class 'Symfony\Bundle\FrameworkBundle\Test\WebTestCase' not found Simonex <simo@sumo.it> - 2017-09-04 11:44 +0200
    Re: Class 'Symfony\Bundle\FrameworkBundle\Test\WebTestCase' not found fmassei@gmail.com - 2017-09-04 11:24 -0700
      Re: Class 'Symfony\Bundle\FrameworkBundle\Test\WebTestCase' not found Simonex <simo@sumo.it> - 2017-09-05 13:17 +0200
        Re: Class 'Symfony\Bundle\FrameworkBundle\Test\WebTestCase' not found fmassei@gmail.com - 2017-09-05 05:26 -0700
          Re: Class 'Symfony\Bundle\FrameworkBundle\Test\WebTestCase' not found Simonex <simo@sumo.it> - 2017-09-05 15:04 +0200
            Re: Class 'Symfony\Bundle\FrameworkBundle\Test\WebTestCase' not found fmassei@gmail.com - 2017-09-05 06:25 -0700
        Re: Class 'Symfony\Bundle\FrameworkBundle\Test\WebTestCase' not found Alessandro Pellizzari <shuriken@amiran.it> - 2017-09-05 17:58 +0100
          Re: Class 'Symfony\Bundle\FrameworkBundle\Test\WebTestCase' not found Simonex <simo@sumo.it> - 2017-09-05 19:28 +0200
            Re: Class 'Symfony\Bundle\FrameworkBundle\Test\WebTestCase' not found fmassei@gmail.com - 2017-09-05 17:14 -0700
            Re: Class 'Symfony\Bundle\FrameworkBundle\Test\WebTestCase' not found Alessandro Pellizzari <shuriken@amiran.it> - 2017-09-06 10:15 +0100
              Re: Class 'Symfony\Bundle\FrameworkBundle\Test\WebTestCase' not found Simonex <simo@sumo.it> - 2017-09-06 19:13 +0200
                Re: Class 'Symfony\Bundle\FrameworkBundle\Test\WebTestCase' not found Alessandro Pellizzari <shuriken@amiran.it> - 2017-09-07 10:12 +0100
                Re: Class 'Symfony\Bundle\FrameworkBundle\Test\WebTestCase' not found Simonex <simo@sumo.it> - 2017-09-07 16:49 +0200
                Re: Class 'Symfony\Bundle\FrameworkBundle\Test\WebTestCase' not found Alessandro Pellizzari <shuriken@amiran.it> - 2017-09-07 16:38 +0100

csiph-web