Hi,

I created a StarterKit for easy starting to use the DrupalExtension.
https://github.com/tanarurkerem/DrupalExtensionStarterKit

@arielqgold suggested me this issue:

https://groups.drupal.org/node/400388#comment-1008233

What do you think?

Comments

jhedstrom’s picture

This looks great!

The instructions on the project page are the same contents as the README.md file. Could you perhaps post your suggested edits to the instructions here, and then I can update them when I have a chance?

manumilou’s picture

Very nice job for the starter kit!
What would you think of having a couple more functional tests in the starter kit? Like clearing the cache, running cron, accessing an admin page, etc ... I could contribute those, as I have been developping some tests for a client's project.

eliza411’s picture

Status: Active » Postponed

I'm doing a 3.0 documentation update and I was going to add a link to the StarterKit, but I ran into a handful of issues. I'd be happy to add this when the kit is also up-to-date!

You could submit a pull request directly against the docs or just move this issue back to active.

pp’s picture

Status: Postponed » Active

@eliza411
First of all, Thanks your feedback!

I corrected all the issues.

@manumilou

The goal of StarterKit: give a working setup, nothing else.
I suggest create an another project which contains examples.

brooke_heaton’s picture

I've been working on something similar -> A suite of 'Behat Examples', modeled after the Migrate examples. This includes a set of basic content types to test each Drupal core field as well as DOM elements, Drupal Regions and Views. The purpose is to provide out-of-the box examples and tests to help people get started. While there is a great deal of 'how to download and configure Behat' blog posts and text documentation, I think this would help newcomers get a much faster start.

jonathanshaw’s picture

#5: awesome!

Any chance of a link to your work in progress? Even a rough start would be a big help already.

I'm happy to help out with it.

moshe weitzman’s picture

@brooke - would love to see your work. please share, even if its still rough.

pfrenssen’s picture

For people that are using Drupal 8, I am maintaining a fork of drupal-composer/drupal-project that has Behat preconfigured for running locally as well as on Travis CI: https://github.com/pfrenssen/drupal-project

alex.skrypnyk’s picture

Status: Active » Closed (works as designed)

For a full end-to-end setup, please see https://github.com/drevops/vortex

For additional steps, please see https://github.com/drevops/behat-steps. This library has every step covered with own Behat steps which demonstrates how it can be used.
Here is a list of all steps: https://github.com/drevops/behat-steps/blob/main/STEPS.md

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.