你的位置: 码友网首页 / 资讯源列表 / Never use the same value for two IDs (or other values) in your tests

关于[Never use the same value for two IDs (or other values) in your tests]的摘要:

When you’re writing automated tests, whether you’re following TDD or not, you want to avoid the possibility of testing the wrong thing. This is surprisingly easy to do if you’re not careful, I can say from personal experience! One way this can easily happen is if you’re quickly writing a series of tests, and doing so using copy-paste programming, like you might see here...

原文地址: https://ardalis.com/never-use-the-same-value-for-two-ids-or-other-values-in-your-tests

收录时间: 2020-05-14 浏览量: 1275 分类: .NET

| 0 收藏 | 0