logo
  • 教程列表
  • SO官方文檔
  • Specflow Basics
    • 示例功能檔案
    • Specflow 中的資料驅動測試
  1. StackOverflow 文件
  2. specflow 教程
  3. Specflow Basics
  4. Specflow 中的資料驅動測試

Specflow 中的資料驅動測試

Created: November-22, 2018

    Given I have entered <FirstOperand> into the calculator
    And I have also entered <SecondOperand> into the calculator
    When I press add
    Then the result should be <Result> on the screen
    |FirstOperand|SecondOperand|Result|
    |20          |30           |50    |
    |60          |40           |100   |

對於 2 組測試資料,它將執行 2 次測試

  • 示例功能檔案

Copyright © 2018. All right reserved

tastones.com 备案号:鲁ICP备18045372号-1

  • 關於本站
  • 免責聲明