Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以在 FitNesse for .net 的 RowFixture 中表达这一点:
contains(data) startswith(data) endswith(data)
快速浏览后,我找到了自己问题的答案:
您可以添加单元处理程序以将特定行为添加到您的测试
!|cell handler loader| |load|SubstringHandler| |load|StartsWithHandler| |load|EndsWithHandler|
然后你可以做一个这样的测试:
!|My fixture| |Content| |..contained..| |starts with..| |..ends with|