Windows 服务的验收测试
我正在编写一个 Windows 服务,它定期处理许多不同的 rss 新闻提要。这些新闻项目将被保存到我们的数据库中并与系统中的不同对象相关联。
尽管对于需要发生的事情有一套规范,但没有 UI 组件供客户验证。
为这样的事情编写验收测试的最佳方法是什么?
我是否应该创建一些简单的网页来显示需要验证的数据摘要?
I'm writing a windows service that processes a number of different rss news feeds at regular intervals. These news items will be saved into our database and associated with different objects in the system.
Although there is a set specification on what needs to happen, there is no UI component for the customer to verify.
What's the best way to write acceptance tests for something like this?
Should I create some simple web pages that display a summary of data that needs to be verified?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
由于数据存储在数据库中,客户可以通过使用 IDE 读取数据库或将数据转储到 excel/csv 来验证它。
我建议不要做大量额外的工作来使他们能够验证结果,因为他们最终可能会比真正的底层程序更多地测试验证过程。
对于内部测试,我们经常依赖日志记录进行测试。我们告诉测试人员要寻找哪些日志以获得好/坏结果。
Since the data is stored into a database the customer can verify it by reading the database with an IDE or by dumping the data to excel/csv.
I would recommend against doing a lot of extra work to make it possible for them to verify the results because they may end up testing the verification procedure more than the real underlying program.
For internal testing, we often rely on logging for testing. We tell testers what logs to look for for good/bad results.