嵌入式的C/C++单元测试工具集

创建于 2013-04-25

迁移自本人的百度空间

---------------------------------

以下是收录的嵌入式开发环境下的测试工具集合,以备学习工作用

C/C++ unit testing tools (18 found)


Boost 
http://www.boost.org/libs/test/doc/index.html
Description: 
The Boost Test Library provides a matched set of components for writing test programs, organizing tests in to simple test cases and test suites, and controlling their runtime execution.

C Unit Test System 
http://sourceforge.net/projects/cut/
Description: 
CUT is a simple, to-the-point unit testing system. It's different from other unit test packages in that it follows the KISS principle. It's designed for C testing, not designed to emulate SUnit. 


Check 
http://check.sourceforge.net/
Description: 
Check is a unit test framework for C. It features a simple interface for defining unit tests, putting little in the way of the developer. Tests are run in a separate address space, so Check can catch both assertion failures and code errors that cause segmentation faults or other signals. The output from unit tests can be used within source code editors and IDEs.
Requirement: 
POSIX

CppTest 
http://cpptest.sourceforge.net/
Description: 
CppTest is a portable and powerful, yet simple, unit testing framework for handling automated tests in C++. The focus lies on usability and extendability. Several output formats are supported and new ones are easily added.

CppUnit 
http://cppunit.sourceforge.net/
Description: 
CppUnit is the C++ port of the famous JUnit framework for unit testing. Test output is in XML or text format for automatic testing and GUI based for supervised tests. 
Requirement: 
BeOS, MacOS, Windows, OS Independent, Linux

cutee 
http://codesink.org/cutee_unit_testing.html
Description: 
C++ unit testing environment that makes it really easy to create and run tests of a library or application. It will automatically generate Makefiles, runner classes (classes that execute test functions), and main test application code. It will also automatically update Makefiles and support classes whenever you add new test functions or modify old ones.
Requirement: 
UNIX

CUTest 
http://cutest.sourceforge.net/
Description: 
CuTest is a unit testing library for the C language.

CxxTest 
http://cxxtest.sourceforge.net/
Description: 
CxxTest is a JUnit/CppUnit/xUnit-like framework for C++. Its advantages over existing alternatives are that it doesn't require RTTI, doesn't require member template functions, doesn't require exception handling, doesn't require any external libraries (including memory management, file/console I/O, graphics libraries) and is distributed entirely as a set of header files. This makes it extremely portable and usable. 

Embedded Unit 
https://sourceforge.net/projects/embunit/
Description: 
Unit testing framework for Embedded C System. Its design was copied from JUnit and CUnit and more, and then adapted somewhat for Embedded C System. 

GUNit 
http://kooditakomo.cs.tut.fi/projects/gunit/
Description: 
GUNit is a C unit testing framework in the spirit of JUnit. The framework incorporates an easy to use GUI based on the Gnome libraries.
Requirement: 
Linux

ObjcUnit 
http://oops.se/objcunit/
Description: 
ObjcUnit is a unit testing framework for Objective-C on Mac OS X. Its design was copied from JUnit, written by Erich Gamma and Kent Beck, and then adapted somewhat for Objective-C. It also has support for mock objects, adapted from the Java Mock Objects framework. 
Requirement: 
Mac OS X

OCUnit 
http://www.sente.ch/software/ocunit/
Description: 
OCUnit is a testing framework for Objective C in the Mac OS X, GNUSTEP and other environments. It is based on the original SUnit framework of Kent Beck, but also include a JUnit like API. Test suites are automatically created at runtime. On Mac OS X it provides full integration with the XCode IDE: tests can be run after each compilation and failures and errors are reported in the build panel.
Requirement: 
Mac OS X, GNUstep, OPENSTEP or WebObjects 4

QtUnit 
http://www.uwyn.com/projects/qtunit/
Description: 
QtUnit is a unit testing framework for C++ which compiles into a shared library. It uses the Qt library for platform independence. Tests can be compiled into modules which are automatically reloaded after modification. The text and graphical testrunners are fully localized and integrate perfectly into IDEs for the display of the exact source location where failures occurred. 
Requirement: 
Qt 3.0


simplectest 
http://simplectest.sourceforge.net/index.php
Description: 
Aims to be a simple but effective testing framework for C and C++ projects, without having too much overhead. 
Requirement: 
Cygwin (MS Windows), OS Portable

Splint 
http://www.splint.org/
Description: 
Splint is a tool for statically checking C programs for coding errors and security vulnerabilities. If effort is invested adding annotations to programs, Splint can perform stronger checking than is possible with traditional lints.
Requirement: 
Win32, Solaris, Linux, FreeBSD


TestKit 
http://testkit.sourceforge.net
Description: 
Testing framework for Mac OS X and the Objective-C language. Includes testing framework, developer tool integration, easy test organization and packaging, GUI Test Runner, and a command-line version for test automation. Modelled after JUnit, but targets the specific needs of the OS X developer in the Cocoa environment.
Requirement: 
MacOS X

TUT 
http://tut-framework.sourceforge.net/
Description: 
TUT simplifies tests organization and provides basic framework to run them. All developers have to do is to fill tests bodies with the actual test code. 
Requirement: 
C++

UnitTest++ 
http://unittest-cpp.sourceforge.net/
Description: 
UnitTest++ is a unit testing framework for C++ designed for simplicity and portability. Features include no explicit test registration, good crash handling, fixtures, rich condition-checking functionality, minimal footprint for embedded environments.
Requirement: 
Win32, Linux, Mac OS X

  • 0
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值