ASP.NET 成员资格/角色/配置文件/会话提供程序的通用测试套件
我刚刚创建了自定义 ASP.NET 成员资格、角色、配置文件和会话状态提供程序,我想知道是否存在测试套件或类似的东西来测试提供程序的实现。我检查了一些我能找到的开源提供程序(例如 NauckIt.PostgreSQL 提供程序),但它们都不包含单元测试,并且我发现的所有论坛主题只提到了几个测试用例(例如检查是否创建用户有效),但这显然不是会员资格提供商的完整测试套件。 (我找不到其他三个提供商的任何内容)
上述提供商是否有或多或少完整的测试套件,或者是否有自定义提供商至少有一些可用的测试?
I've just created custom ASP.NET Membership, Role, Profile and Session State providers, and I was wondering whether there exists a test suite or something similar to test the implementation of the providers. I've checked some of the open source providers I could find (like the NauckIt.PostgreSQL provider), but neither of them contained unit tests, and all of the forum topics I've found mentioned only a few test cases (like checking whether creating a user works), but this is clearly not a complete test suite for a Membership provider. (And I couldn't find anything for the other three providers)
Are there more or less complete test suites for the above mentioned providers, or are there custom providers out there that have at least some testing avaialable?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
简而言之,没有这样的针对提供商的开放测试套件。
也许你可以在 codeplex 上开始一个......
The short answer is that there is no such open test suite for providers.
Perhaps you can start one on codeplex...