./devel/cpputest, Unit testing and mocking framework for C/C++

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 4.0, Package name: cpputest-4.0, Maintainer: schmonz

CppUTest is a C/C++ based unit xUnit test framework for unit testing
and for test-driving your code. It is written in C++ but is used in C
and C++ projects and frequently used in embedded systems but it works
for any C/C++ project.

CppUTest's core design principles are:

- Simple in design and simple in use.
- Portable to old and new platforms.
- Build with Test-driven Development in mind.


Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: 523a82e55cfdec16bd98b4fe087dd8b929d92538
RMD160: 3f59d987202a38a18c6a749c5d5c8df9b0e99cb5
Filesize: 744.896 KB

Version history: (Expand)


CVS history: (Expand)


   2020-07-07 11:04:55 by Amitai Schleier | Files touched by this commit (3) | Package updated
Log message:
Update to 4.0. From the changelog:

New functionality:

* Added MemoryAccountant
* Added SimpleStringCache that also removed the memory leak caused by longjmp in C
* Thread-safe memory leak detector overloads
* New command-line options:
  * -h help option
  * -s shuffle (random) option
  * -t run a specific test option
  * -vv extra verbose option
  * -k add a package name to junit output
* Added new asserts: CHECK_COMPARE, and improved C macros
* Support for newer compilers and address sanitizer

Small improvements:

* Fixed problems with gdb
* More 16-bit support
* Added Makefile for making the examples with an installed CppUTest
* Small mock improvements
* Removed more compiler warnings
* Support for C++14, C++17, and C++2x (added to automated build)

Improved maintainability:

* Docker builds
* Vastly improved the automated build with more platforms and variants
* Continuously releasing the passing build
* MS-DOS support (added to automated build)
   2020-01-19 00:36:14 by Roland Illig | Files touched by this commit (3046)
Log message:
all: migrate several HOMEPAGEs to https

pkglint --only "https instead of http" -r -F

With manual adjustments afterwards since pkglint 19.4.4 fixed a few
indentations in unrelated lines.

This mainly affects projects hosted at SourceForce, as well as
freedesktop.org, CTAN and GNU.
   2018-12-16 08:02:08 by Amitai Schleier | Files touched by this commit (2)
Log message:
#include <sys/types.h> for pid_t. Fixes FreeBSD build.
   2018-06-22 17:56:56 by Amitai Schleier | Files touched by this commit (4)
Log message:
Expect pid_t from fork() and waitpid() to fix build on SmartOS. Quell pkglint.
   2017-08-15 01:42:08 by Amitai Schleier | Files touched by this commit (2) | Package updated
Log message:
Install MakefileWorker.mk. Bump PKGREVISION.
   2016-06-11 20:55:01 by Amitai Schlair | Files touched by this commit (1)
Log message:
Define TEST_TARGET.
   2016-06-07 13:12:03 by Amitai Schlair | Files touched by this commit (3) | Package updated
Log message:
Update to 3.8. From the changelog:

This release contains many small new features, such as;

- Comparing bits
- Proper bool support
- 16 bit support
- 64 bit asserts
- Floating point exception plugin
- Configuration choices installed
- Command line option to run ignored tests
- Failable Memory Leak allocator
- Many small bug fixes
- Increased portability
   2016-05-06 20:08:45 by Amitai Schlair | Files touched by this commit (4)
Log message:
Add CppUTest, a C/C++ based unit xUnit test framework for unit testing
and for test-driving your code. It is written in C++ but is used in C
and C++ projects and frequently used in embedded systems but it works
for any C/C++ project.

CppUTest's core design principles are:

- Simple in design and simple in use.
- Portable to old and new platforms.
- Build with Test-driven Development in mind.
 VS: ----------------------------------------------------------------------