BeHat Documentation

BeHat Documentation

โดย Nate Baxley -
Number of replies: 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

การประเมินโดยเฉลี่ย: -
In reply to Nate Baxley

Re: BeHat Documentation

โดย 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.

การประเมินโดยเฉลี่ย: -
In reply to Nate Baxley

Re: BeHat Documentation

โดย Itamar Tzadok -

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

การประเมินโดยเฉลี่ย: -
In reply to Itamar Tzadok

Re: BeHat Documentation

โดย Tim Hunt -
รูปภาพของCore developers รูปภาพของDocumentation writers รูปภาพของParticularly helpful Moodlers รูปภาพของPeer reviewers รูปภาพของPlugin developers

https://gist.github.com/danpoltawski/8036489

is also very helpful.

I feel I owe Dan for that, and hence should spend some time transferring the information there to the official Moodle Docs wiki page. However, I keep not making the time.

การประเมินโดยเฉลี่ย: -