📜  硒中的黄瓜 - 任何代码示例

📅  最后修改于: 2022-03-11 14:58:12.388000             🧑  作者: Mango

代码示例1
Cucumber is a tool for running automated acceptance tests 
written in a behavior driven development style. 
One of its wonderful main features is the ability to 
execute plain text functional description 
(written in language named Gherkin) as automated tests.

Feature: Update password
Scenario: Admin user can update user password
Given I am in the HR system with an Admin account
When I update password of another “user”
Then I receive a message for updating password successfully
And user’s password is updated to the new password