选择大量测试数据集的测试样本量的最佳方法

发布于 2025-01-24 08:37:51 字数 214 浏览 2 评论 0原文

我正在为DHCP订户写一个自动化测试用例,以租赁时间验证。订户总数将从范围1000到10000不等。逻辑正在引入一些睡眠,并检查租赁计时器的价值和配置的租赁时间较小。该逻辑不能用于所有订户计数。我想从总订户数量中随机选择订阅者的n。

请任何人都可以建议我选择测试样本量(N)的简单但最佳方法,该样本尺寸将提供最佳的测试样品覆盖范围。验证逻辑更为复杂,因此测试数据选择过程应该很简单,以改善测试执行时间

I am writing an automation test case for lease time validation for dhcp subscribers.the total number of subscribers will vary from range 1000 to 10000.The logic is introducing some sleep inbetween and checking the value of lease timer and configured lease time is less.So this logic can not be applied for all subscriber count.I want to randomly select n of subscribers from total subscriber count.

Please can any one suggest me the simple yet best way to select test sample size(n) which will give best coverage of test samples .Since the verification logic is more complex the test data selection process should be simple in order to improve the test execution time

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文