有没有任何virtualenv像c ++那样的工具? [英] Is there any virtualenv like tool for c++ out there?

查看:145
本文介绍了有没有任何virtualenv像c ++那样的工具?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在c ++问题中发现了测试环境的问题。



我们有一台从版本控制系统下载代码的机器,并构建它执行单元测试,没有什么新的。



当我们在项目中添加新的依赖项时,出现问题。我们同时开发了很多功能,这是比较常见的。我们发现我们必须向测试人员提供建议并给他们一个简单的方式来重现编译环境...



我在想,如果有其他简单的方法去通过这个...不知道,一些工具,如virtualenv或buildout的python ..



我一直在谷歌搜索,但没有运气。 >

任何帮助将不胜感激。

解决方案

您可以随时添加所有依赖于修订控制系统,并提供将安装所需子系统的自动化脚本。我在哪里工作,如果您只是从存储库中下载当前版本,您可以一步一步地构建测试人员可以在任何需要的计算机上安装的ISO映像。该图像包含从操作系统到应用程序的所有内容。



根据您的具体情况,您可能希望从较小的步骤开始,例如将依赖关系添加到存储库,让测试人员检查是否有新文件出现或更改版本。


I have found a problem with the test environment in a c++ problem.

We have a machine which downloads the code from the version control system and, build it and execute the unit test, nothing new.

The problem arise when we add a new dependency in our project. We are developing a lot of features at the same time and it is something relatively common. We this happens we have to advise testers and give them an easy way to reproduce the compilation environment ...

And I was thinking if there is any other easy way to go through this ... don't know, some tool like virtualenv or buildout for python ..

I have been searching at google, but with no luck.

Any help will be appreciated.

解决方案

You can always add all of the dependencies to the revision control system and provide automated scripts that will install the required subsystems. Where I work, if you just download the current version from the repository, you can build in one step an ISO image that can be installed by testers in any computer they want. The image contains everything from the OS up to the application.

Depending on your particular situation, you might want to start with smaller steps, like adding the dependencies to the repository and having the testers check there whether any new file appears or changes version.

这篇关于有没有任何virtualenv像c ++那样的工具?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆