devel/quickcheck++ 0.0.3 DragonFly
Tool for testing C++ programs automatically, inspired by QuickCheck
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- GPLv3
- Categories
- devel
- Package size
- 26.0 KiB, 114.2 KiB installed
Description
QuickCheck++ is a tool for testing C++ programs automatically, inspired by QuickCheck, a similar library for Haskell programs.
In QuickCheck++, the application programmer provides a specification of parts of its code in the form of properties which this code must satisfy. Then, the QuickCheck++ utilities can check that these properties holds in a large number of randomly generated test cases.
Specifications, i.e. properties, are written in C++ by deriving from the quickcheck::Property class. This class contains members not only to express the specification but also to observe the distribution of test data and to write custom test data generators.
The framework also allows the specification of fixed test data, as can be done with more traditional unit testing frameworks.
In the other systems
| System | Port | Version |
|---|---|---|
| DragonFly | devel/quickcheck++ | 0.0.3 |
| FreeBSD | devel/quickcheck++ | 0.0.3 |
| HardenedBSD | devel/quickcheck++ | 0.0.3 |
| GhostBSD | devel/quickcheck++ | 0.0.3 |
Install
Binary package:
pkg install quickcheck++
From DPorts:
cd /usr/dports/devel/quickcheck++ && make install clean
Dependencies
No port depends on this one.