什么是滴滴涕

代码示例

0
0

什么是滴滴涕

Whenever a functionality or a module in an app
requires testing with multiple sets of data (Parametrization),
Multiple inputs then we need to perform data driven testing and
automation.
These scenarios are one of the things That must be automated.
I would do it by seperating Test data from code and stored into external
sources like
Cucumber Examples table, Excel files, CSV files, Database.
Data driven testing has lots of benefits like
More organized, Data centralized, and so on

• In my current project I use Scenario Outline with Examples
• In my scenario feature file, whenever I’m using a <variable> as a data driven, I
use “<variable>”
• Then in Examples:
Examples:
| variable | -> column name
| data1 | -> row1
| data2 | -> row 2
| data3 | -> row

类似页面

带有示例的类似页面

其他语言

此页面有其他语言版本

Русский
..................................................................................................................
English
..................................................................................................................
Italiano
..................................................................................................................
Polski
..................................................................................................................
Română
..................................................................................................................
한국어
..................................................................................................................
हिन्दी
..................................................................................................................
Français
..................................................................................................................
Türk
..................................................................................................................
Česk
..................................................................................................................
Português
..................................................................................................................
ไทย
..................................................................................................................
Español
..................................................................................................................
Slovenský
..................................................................................................................
Балгарскі
..................................................................................................................
Íslensk
..................................................................................................................