📜  框架中的参数化测试 - 无论代码示例

📅  最后修改于: 2022-03-11 14:59:51.458000             🧑  作者: Mango

代码示例1
HOW DO YOU PARAMETERIZE YOUR TEST CASES IN YOUR FRAMEWORK?

Cucumber:
- By using regular expression in feature file ==> 
             when user enters "myusername" and "my password"
- Configuration.properties file

TestNG:
- By using 'parameter' key word in pom.xml
file and using it in my @Test annotation to 
call the value of this parameters.
- Configuration.properties file