Drupal dev days Lisbon 2018 6th Friday - How To Get Started With Writing Tests...

preview_player
Показать описание
How to get started with writing tests for contrib

Description:

The session will be divided in 3 bigger parts:
• I'll first cover what testing is and how a test works, I'll cover the types of test and what the differences are
o What is testing
o Why you should write tests
o Unit testing
o Kernel testing
o Functional testing
o How to setup testing on your local machine

• Writing tests on your own modules or existing modules (without tests available)
o Start with simple things
o How to create a roadmap
o What files you'll need
o How to set it up on your drupal module
o General tips and tricks on how to write them better

• Writing tests on already existing modules (with tests available) or drupal core
o Discuss the advantages on adding tests on existing modules
The reasons I'm choosing for this session is because on drupalcon vienna last year, I also got started in writing tests for contrib modules, and I think it's the ideal way to get more into contributing.
So my goal is that after this session, at least some people get out of the session, and go to the sprint to start writing some tests.

A little bit more info about me:
• Presenter name: Brent Gees
• position title: Drupal developer - Architect at Dropsolid, Ghent
Рекомендации по теме