有没有用于测试安装程序包的工具?
作为我们在 Windows 上每晚构建的一部分,安装程序包是使用 NSIS 创建的。我想自动测试安装程序的“正确性”。
这可能是这样的:
- 检查 dll 文件的平台。
- 检查安装文件夹。
- 测试卸载功能不会留下任何文件。
- 检查注册表项是否在正确的位置创建。
有没有任何工具或技术可以帮助我实现这一目标?
As part of our nightly build on windows, an installer package is created using NSIS. I would like to automatically test the "correctness" of the installer.
This might be things like:
- Checking the platform of dll files.
- Checking the install folder.
- Testing the uninstall function doesn't leave any files behind.
- Checking registry keys are created in the right location.
Are there any tools or techniques that could help me achieve this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我不认为虚拟机或将包推送到虚拟机的自动化流程本身就是答案。这里真正的问题是“您如何知道集成/部署的产品能够正常工作?”我认为目前这个问题的唯一答案是使用自动化流程来测试部署状态下的应用程序本身。
I don't think VM's or automated processes to push the package to the VM is an answer in itself. The real problem here is 'How do you know the integrated / deployed product will work?' I think the only answer to that question at this point would be to then have automated processes to test the application itself in the deployed state.