????Spec Flow??写????????????
???????????? ???????[ 2014/1/27 16:01:44 ] ??????????????? ??????? ?????????
??????????????Gherkin??Spec Flow?????
??????????????????????????????????????????????些?????????胁?????????????????????????????????????????????????????????
?????????????????????????????????????????
Feature: Login
In order to access my account
As a user of the website
I want to log into the website
Scenario: Logging in with valid credentials
Given I am at the login page
When I fill in the following form
| field | value |
| Username | xtrumanx |
| Password | P@55w0Rd |
And I click the login button
Then I should be at the home page
????????????????????????????????????Gherkin?????????????Gherkin????????????????????????????????????????????????锟�???????????????????小??????????????????????????????????????屑????????Gherkin??????Feature??Scenario??Given??When??And??Then???????????????????????????????????????????伪??????
????Gherkin?????????械?????????????械????校?Line??????????瑁⊿tep????“Logging in with valid credentials”?????械???????????“Given I am at the login page”???貌????????????宕�?瓒�?澹�??????????????????test runner????????????????貌??琛pec Flow?械???瓒�?????????????斜??????????????????????懈貌???????????????胁??瓒�?宸�??????????????????Binding????????小?
[Binding]
class LoginStepDefinitions
{
[Given("I am at the login page")]
public void GivenIAmAtTheLoginPage()
{
// TODO
}
}
?????????????????????????????????????????????????械?????????????????Spec Flow????????瓒�?宸�??????宕�?????????
??????????2??瓒�????????????????WatiN??Nunit??????
????WatiN????????????????????????????????????????????IE????????URL?????????????????????????????????????NUnit?????????????????????????WatiN??NUnit???????????????????Selenium?????????????????????????魏??????????????????????????????????Windows??????????????????纾篧hite???????????Windows Forms??WPF????写?????????????
???????????????????????????????????????????????????????????????????????????????repository?????????repository????????????????????????????????????????斜?????渭??????????????????????????
??????

???路???
??????????????????
2023/3/23 14:23:39???写?貌??????????
2023/3/22 16:17:39????????????????????些??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???路???????路
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11