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


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

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

From Alessandro Pellizzari <shuriken@amiran.it>
Newsgroups it.comp.www.php
Subject Re: Class 'Symfony\Bundle\FrameworkBundle\Test\WebTestCase' not found
Date 2017-09-07 10:12 +0100
Message-ID <f1cgsqFkusuU1@mid.individual.net> (permalink)
References (3 earlier) <oom13j$1u0o$1@gioia.aioe.org> <f183diFkqg3U1@mid.individual.net> <oommsi$19ev$1@gioia.aioe.org> <f19sl1F2gp6U1@mid.individual.net> <oopab2$1r8p$1@gioia.aioe.org>

Show all headers | View raw


On 06/09/2017 18:13, Simonex wrote:

> Il 06/09/2017 11:15, Alessandro Pellizzari ha scritto:

>> Di solito lascio quel lavoro ai frontender,
> 
> Frontender, cioè un gruppo utenti (o applicazioni) per testare 
> l'interfaccia utente?

Frontender = persona che sviluppa il frontend. Solitamente programmatori 
javascript che fanno anche html e css.

>> https://github.com/DiceHoldingsInc/casperjs-php-driver
>>
>> (non ci ho lavorato, quindi non ti so dire molto)
> 
> <?php //tesr.php
> require  'vendor/autoload.php';
> 
> $driver = new CasperJs\Driver();
> $output = $driver->start('http://someurl.com')
>      ->click('123')
>      ->run();
> 
> $ php test.php

Come ho detto, non ci ho lavorato molto, ma il senso è che gli passi le 
operazioni da fare (scrolla x, clicca y, aspetta n secondi, ecc.) e alla 
fine verifichi che quello che hai in $output corrisponda a quello che vuoi.

> ...non succede niente.
> Ma cmq a cosa serve questo wrapper?

A fare in PHP quello che faresti in javascript con casper. È un wrapper, 
appunto. :)

Bye.

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