首页> 外文期刊>MSDN Magazine >Winunit Simplified Unit Testing For Native C++ Applications
【24h】

Winunit Simplified Unit Testing For Native C++ Applications

机译:Winunit对本地C ++应用程序的简化单元测试

获取原文
获取原文并翻译 | 示例
           

摘要

These days it can be hard not to feel downright oppressed as a native code developer—it seems like the developers using the Microsoft' .NET Framework get all the cool tools! I've always been interested in good engineering practices, but I've been frustrated by so-called "engineering experts" who extol the virtues of unit testing, yet can offer little more than hand waving when asked for tool recommendations for native code. What I really wanted, and what I thought would be the easiest to integrate into an automated build system, was the equivalent of NUnit for native code. That is, I wanted to be able to make a DLL with only tests in it, and have an external test-runner that would run those tests and take care of the reporting and logging. I also wanted to be able to declare each test only once, and to have a minimum of extra code in my test DLL.
机译:如今,作为本地代码开发人员,很难不感到沮丧—使用Microsoft .NET Framework的开发人员似乎拥有所有出色的工具!我一直对良好的工程实践感兴趣,但是我对所谓的“工程专家”感到沮丧,他们赞扬单元测试的优点,但是当被问及针对本机代码的工具建议时,只能提供帮助。我真正想要的,以及我认为最容易集成到自动化构建系统中的东西,相当于将NUnit用于本机代码。也就是说,我希望能够制作一个仅包含测试的DLL,并拥有一个外部测试运行程序来运行这些测试并处理报告和日志记录。我还希望每个声明只能声明一次,并且在我的测试DLL中包含最少的额外代码。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号