所以我正在尝试使用 Ruby on Rails 开发一个网站,而我对 BDD 的概念并不陌生。我已经完成了 Ruby on Rails 教程和 RSpec 书,并开始自己尝试,但希望能获得一些关于初始功能的反馈。
Feature: User Signup
As a user (anyone who may use the system, to include persons outside the unit)
I want to sign up
So that I can access the website
Scenario: sign up
Given I have not yet signed up
When I go the signup page
Then I should be redirected to the signup page
我在正确的轨道上吗..?