BeHat Documentation

BeHat Documentation

de Nate Baxley -
Número de respuestas: 3

I'm really excited to get into Behat.  We've got the server setup, and have it tied into our selenium server.   I've even found the limited cheat sheet from behat.org.  However, the rest of the documentation is pretty lacking.  Does anyone have good resources like a list of all the "phrases" that can be used in Behat or more the Moodle specific phrases that have been written?  I feel like we have to go hunting through the behat php files searching for a function or run the risk of recreating the wheel (I've already recreated the Turn Editing Mode On function).  Just looking for some pointers.

 

Thanks,

Nate Baxley

Promedio de valoraciones: -
En respuesta a Nate Baxley

Re: BeHat Documentation

de Rex Lorenzo -

Have you taken a look at: Site administration ▶ Development ▶ Acceptance testing?

It lists all the available step definitions. But the best way to write your own Behat stuff is to take a look at the existing scripts.

En respuesta a Nate Baxley

Re: BeHat Documentation

de Itamar Tzadok -

See Acceptance testing in the dev docs. And +1 to what  Rex says about the best way to start. sonrisa