简体   繁体   English

如何在黄瓜表中测试未修剪的值

[英]How to test untrimmed values in cucumber's tables

How to test untrimmed values like " hola" (without double quotes) in examples of scenarios outline? 如何在方案概述示例中测试未修饰的值,例如“ hola”(不带双引号)?

Examples:
  |Fullname|Email|Password|
  |       Felipe|felipe@gmail.com|1234567|
  |Felipe       |felipe@gmail.com|1234567|
  |   Felipe    |felipe@gmail.com|1234567|

IMO this is overkill. 海事组织这太过分了。 You shouldn't need deep testing of code that isn't yours. 您不需要对不是您自己的代码进行深入测试。 A single example should be sufficient to prove the integration, eg: 一个例子就足以证明集成,例如:

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM