Generic drupal feature files

Events happening in the community are now at Drupal community events on www.drupal.org.
eMuse_be's picture

Hi, I have set up a drupal structure using composer in git to kickstart our drupal development.
In the setup, behat and the DrupalExtension is integrated.

Our team will soon start writing tests for our websites. The generic tests (administrator permissions, Check if homepage works ...) will be put in our main git repo. I was wondering if there are other who have generic tests that are used on every drupal site, and if we could create a main repository ?

Comments

I think these could make

greggles's picture

I think these could make sense in the DrupalExtension project somewhere?

It looks like there are some files in drupal-extension/features/ though I'm not sure what the purpose of those files is.

What timing

greggmarshall's picture

Oddly I was just scanning the group before posting almost the exact same idea/issue.

We need a set of tests for all our Drupal sites to pass that check basic functionality (e.g. we found that a change in PHP affected our Drupal 6 sites in a way that the site worked, but we couldn't change user passwords).

Some repository for these generic tests would be really great to avoid re-inventing the wheel.

I will look into it

eMuse_be's picture

I will try to work out a generic repository. I also created a basic HTML formatter for behat 3.0. You can find it here:
https://github.com/dutchiexl/BehatHtmlFormatterPlugin

Also interested

danbruder's picture

This is a great idea. We are in the process of putting together tests to be used accross all of our sites and as Greg said, it would be good to not reinvent the wheel.

Also interested, any progress?

Andreas Radloff's picture

Did anyone set up a common repository? We are just getting started and it would be great to not have to rewrite the basic stuff. Looking forward to contributing!

Me too

nicrodgers's picture

Wondering the same thing...

Behat

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: