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

  • 关于我们
  • 免责声明