4
Scenario: Change a member to ABC 60 days before anniversary date
Given Repeat When+Then for each of the following IDs:
| ID |
| 0047619101 |
| 0080762602 |
| 0186741901 |
| 0311285102 |
| 0570130101 |
| 0725968201 |
| 0780265749 |
| 0780265750 |
| 0780951340 |
| 0780962551 |
#-----------------------------------------------------------------------
When these events occur:
| WorkflowEventType | WorkflowEntryPoint |
| ABC | Status Change |
Then these commands are executed:
| command name |
| TerminateWorkflow |
And For Member, the following documents were queued:
| Name |
| ABC Packet |
在上述情況下,我想:SpecFlow - 用列表重複測試X次?
- GIVEN - 查找從DB
- 10成員時,+ THEN - 操作步驟10次,一次爲每個記錄。
SpecFlow有可能嗎?
如果是這樣,你會如何設置它?
TIA
感謝。我終於找到了這個小塊頭,真是太棒了! – 2012-03-05 17:29:04
另外,我們使用表格來幫助使輸入更易變。我們可能有100個這種一般形式的測試,有些則採用多線輸入(在表中),而另一些則是單線。再次 - 謝謝! – 2012-03-05 17:31:01