我想知道在描述非人类代理时,黄瓜步骤是否更适合以第三人称而不是第一人称编写的读者。我觉得更少的代词清楚谁在做什么。
Scenario: Monitor notifies admin for healthcheck failure.
Given I am a monitor
When I retrieve a failed healthcheck message
Then I notifies the admin
Scenario: Monitor notifies admin for healthcheck failure.
Given there is a monitor
When the monitor retrieves a failed healthcheck message
Then the monitor notifies the admin