-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Description
Hi, i am pretty lost and feeling stupid trying to figure out how to use this spec tool. Currently I'm trying to figure out:
- how to "run" the spreadsheet so the Overview, Diagrams and Behat sheets are update (Updated: those sheets should run automatically when info they depend on are changed; if it does not looks right, then there is a problem with the formula for that cell)
- how to generate the tests and then run them
- where i should copy the default features file into my own Drupal project (sorry i don't quite understand the BLT example used in step 3 of the readme)
- what's the relationship of the generated test files to the features files
- how to use Behat in this setup (i've never used that tool before)
I'd appreciate all help anyone can offer. Just trying to see if I can understand this enough to determine whether this tool will be helpful for our project or not...
Here's what i've done:
- read the readme along with other documentation pointed to by the readme, including the Behat beginner's guide
- made a copy of the google sheet
- added our "publication" content type to the Overview sheet
- added 24 fields for the publication to the Fields sheet
- installed the spec tool and behat via composer into my docker container running my development instance of Drupal on my laptop
- i have the following in vendor/acq2uia/drupal-spec-tool/behat.yml:
---
default:
suites:
default:
autoload:
'': "%paths.base%/features/bootstrap"
paths:
- "%paths.base%/features"
contexts:
- Acquia\DrupalSpecTool\Context\AccessControlContext
- Acquia\DrupalSpecTool\Context\ContentModelContext
- Acquia\DrupalSpecTool\Context\MediaContext
- Acquia\DrupalSpecTool\Context\MenuContext
- Acquia\DrupalSpecTool\Context\ViewsContext
- Acquia\DrupalSpecTool\Context\WorkflowContext
extensions:
Behat\MinkExtension:
goutte: ~
Drupal\DrupalExtension:
blackbox: ~
api_driver: drupal
drupal:
drupal_root: docroot
subcontexts:
paths: [ ]
Metadata
Metadata
Assignees
Labels
No labels