如何在场景大纲示例中测试未修剪的值,如“hola”(不带双引号)?
Examples:
|Fullname|Email|Password|
| Felipe|felipe@gmail.com|1234567|
|Felipe |felipe@gmail.com|1234567|
| Felipe |felipe@gmail.com|1234567|
最佳答案
IMO 这是矫枉过正。您不需要对不属于您的代码进行深入测试。一个例子应该足以证明集成,例如:
Given I am adding a new person
When I fill in a name containing whitespace
Then the name should be saved with the whitespace stripped
关于testing - 如何测试 cucumber 表中未修剪的值,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11643281/