我想知道在描述非人类代理人时,黄瓜步骤是否能更好地为读者提供第三人称写作。我觉得更少的代词清理了谁在做什么。
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
答案 0 :(得分:1)
它完全没有任何区别。 = P
Scenario: Monitor notifies admin of healthcheck failure.
Given I am a monitor
When I retrieve a failed healthcheck message
Then I should notify an admin
Scenario: Monitor notifies admin for healthcheck failure.
Given there is a monitor
When it retrieves a failed healthcheck message
Then it should notify an admin
这就是你喜欢写它的方式。 = P