Behat 101: test your application like a real boy

rodrigoaguilera

Please give us a detailed overview of your session and why attendees will be excited to hear about it.  

Ensure that you let us know:

  • What level of knowledge should attendees have before walking into your session
  • What will your session accomplish and what will attendees walk away having learned

In this session we will introduce a new testing category: behavioural testing. And more specifically the framework tool know as Behat. By introcing this tool you can have a more robust approach and sleep better at night.

We will begin talking about the testing posibilities and at what application level the testing is possible, how it integrates with drupal and automate its execution.

One of the big advantages is that allows for the use of natural language to describe what is that we are testing. This opens the door to use our own terminology according to the domain we are working on.

Other interesting feature is the integration with real browsers that allows to test the application in several enviroments y see what is actually happening when something fails.

  • A mimimum of interest in development quality is required to attend.
  • During the session we will talk about how to start using behat in your development workflow and we will do an overview of the advanced features of the tool like: browser testing, debugging, write custom testing steps.
  • Drupal 7 or 8 are both supported and works well for both.

 

 

Session Track

Coding and Development

Experience Level

Intermediate

Drupal Version