[英]IntelliTest does not use PexArguments
I am trying to force IntelliTest
to try specific parameters with the following code: 我试图通过以下代码强制IntelliTest
尝试特定参数:
[PexClass]
public class Program {
[PexMethod]
[PexArguments((short)1234, "G", Alternate = true)]
public string Format(short val, string format) {
return val.ToString(format);
}
}
Do you have any idea what 1234 and "G" are never tried? 您知道从未尝试使用1234和“ G”吗?
Thank you, Rok 谢谢Rok
Alternating input enumerators is not supported yet. 目前尚不支持交替输入枚举器。 Either remove Alternate=true , or set it to false , and then 1234, "G" will get used. 删除Alternate = true或将其设置为false ,然后使用1234,“ G”将被使用。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.