所以对于黄瓜,我有一个空白的应用程序。我正在考虑我的第一个 BDD 应该是:
Feature: Blog
As an Owner
In order to retain customers
I want to create a blog
Scenario: Add blog posts
Given I am logged in as owner
When I go to the blog
And I create a post
Then it should appear on the blog page
我觉得这不对。我觉得第一个场景是最难的,因为在那之后添加一个特性应该会更容易。
那么第一个场景/功能应该是什么?