rapidcheck/cci.20230815

QuickCheck clone for C++ with the goal of being simple to use with as little boilerplate as possible
Recipe info
2023-12-17

Available packages
Linux
Windows
macOS
macOS Apple Silicon

Install
Add the following line to your conanfile.txt:
[requires]
rapidcheck/cci.20230815

Using rapidcheck

Note

If you are new with Conan, we recommend to read the section how to consume packages.

If you need additional assistance, please ask a question in the Conan Center Index repository.

Simplest use case consuming this recipe and assuming CMake as your local build tool:

[requires]
rapidcheck/cci.20230815
[generators]
CMakeDeps
CMakeToolchain
[layout]
cmake_layout
from conan import ConanFile
from conan.tools.cmake import cmake_layout


class ExampleRecipe(ConanFile):
    settings = "os", "compiler", "build_type", "arch"
    generators = "CMakeDeps", "CMakeToolchain"

    def requirements(self):
        self.requires("rapidcheck/cci.20230815")

    def layout(self):
        cmake_layout(self)

Now, you can run this Conan command to locally install (and build if necessary) this recipe and its dependencies (if any):

$ conan install conanfile.txt --build=missing

Useful information to take into account to consume this library:


These are the main declared targets:

  • CMake package name(s): rapidcheck
  • CMake target name(s): rapidcheck::rapidcheck
  • rapidcheck_rapidcheck => rapidcheck
    
  • pkg-config file name(s): rapidcheck.pc
  • rapidcheck_rapidcheck => rapidcheck-rapidcheck_rapidcheck.pc
    

A simple use case using the CMake file name and the global target:

# ...
find_package(rapidcheck REQUIRED)
# ...
target_link_libraries(YOUR_TARGET rapidcheck::rapidcheck)

These are all the available headers. Some of these ones might be non-public; make sure of it by visiting the rapidcheck homepage listed above:

#include "rapidcheck.h"
#include "rapidcheck/Assertions.h"
#include "rapidcheck/Assertions.hpp"
#include "rapidcheck/BeforeMinimalTestCase.h"
#include "rapidcheck/Check.h"
#include "rapidcheck/Check.hpp"
#include "rapidcheck/Classify.h"
#include "rapidcheck/Classify.hpp"
#include "rapidcheck/Compat.h"
#include "rapidcheck/Compat.hpp"
#include "rapidcheck/Gen.h"
#include "rapidcheck/Gen.hpp"
#include "rapidcheck/GenerationFailure.h"
#include "rapidcheck/Log.h"
#include "rapidcheck/Log.hpp"
#include "rapidcheck/Maybe.h"
#include "rapidcheck/Maybe.hpp"
#include "rapidcheck/Nothing.h"
#include "rapidcheck/Random.h"
#include "rapidcheck/Random.hpp"
#include "rapidcheck/Seq.h"
#include "rapidcheck/Seq.hpp"
#include "rapidcheck/Show.h"
#include "rapidcheck/Show.hpp"
#include "rapidcheck/Shrinkable.h"
#include "rapidcheck/Shrinkable.hpp"
#include "rapidcheck/Traits.h"
#include "rapidcheck/detail/AlignedUnion.h"
#include "rapidcheck/detail/Any.h"
#include "rapidcheck/detail/Any.hpp"
#include "rapidcheck/detail/ApplyTuple.h"
#include "rapidcheck/detail/BitStream.h"
#include "rapidcheck/detail/BitStream.hpp"
#include "rapidcheck/detail/Capture.h"
#include "rapidcheck/detail/Configuration.h"
#include "rapidcheck/detail/ExecFixture.h"
#include "rapidcheck/detail/FrequencyMap.h"
#include "rapidcheck/detail/FunctionTraits.h"
#include "rapidcheck/detail/ImplicitParam.h"
#include "rapidcheck/detail/ImplicitParam.hpp"
#include "rapidcheck/detail/IntSequence.h"
#include "rapidcheck/detail/Platform.h"
#include "rapidcheck/detail/Property.h"
#include "rapidcheck/detail/Property.hpp"
#include "rapidcheck/detail/PropertyContext.h"
#include "rapidcheck/detail/Results.h"
#include "rapidcheck/detail/Results.hpp"
#include "rapidcheck/detail/Serialization.h"
#include "rapidcheck/detail/Serialization.hpp"
#include "rapidcheck/detail/ShowType.h"
#include "rapidcheck/detail/ShowType.hpp"
#include "rapidcheck/detail/TestListener.h"
#include "rapidcheck/detail/TestListenerAdapter.h"
#include "rapidcheck/detail/TestMetadata.h"
#include "rapidcheck/detail/TestParams.h"
#include "rapidcheck/detail/Traits.h"
#include "rapidcheck/detail/TypeList.h"
#include "rapidcheck/detail/Utility.h"
#include "rapidcheck/detail/Variant.h"
#include "rapidcheck/detail/Variant.hpp"
#include "rapidcheck/fn/Common.h"
#include "rapidcheck/fn/Common.hpp"
#include "rapidcheck/gen/Arbitrary.h"
#include "rapidcheck/gen/Arbitrary.hpp"
#include "rapidcheck/gen/Build.h"
#include "rapidcheck/gen/Build.hpp"
#include "rapidcheck/gen/Chrono.h"
#include "rapidcheck/gen/Chrono.hpp"
#include "rapidcheck/gen/Container.h"
#include "rapidcheck/gen/Container.hpp"
#include "rapidcheck/gen/Create.h"
#include "rapidcheck/gen/Create.hpp"
#include "rapidcheck/gen/Exec.h"
#include "rapidcheck/gen/Exec.hpp"
#include "rapidcheck/gen/Maybe.h"
#include "rapidcheck/gen/Maybe.hpp"
#include "rapidcheck/gen/Numeric.h"
#include "rapidcheck/gen/Numeric.hpp"
#include "rapidcheck/gen/Predicate.h"
#include "rapidcheck/gen/Predicate.hpp"
#include "rapidcheck/gen/Select.h"
#include "rapidcheck/gen/Select.hpp"
#include "rapidcheck/gen/Text.h"
#include "rapidcheck/gen/Text.hpp"
#include "rapidcheck/gen/Transform.h"
#include "rapidcheck/gen/Transform.hpp"
#include "rapidcheck/gen/Tuple.h"
#include "rapidcheck/gen/Tuple.hpp"
#include "rapidcheck/gen/detail/ExecHandler.h"
#include "rapidcheck/gen/detail/ExecRaw.h"
#include "rapidcheck/gen/detail/ExecRaw.hpp"
#include "rapidcheck/gen/detail/GenerationHandler.h"
#include "rapidcheck/gen/detail/Recipe.h"
#include "rapidcheck/gen/detail/ScaleInteger.h"
#include "rapidcheck/gen/detail/ShrinkValueIterator.h"
#include "rapidcheck/gen/detail/ShrinkValueIterator.hpp"
#include "rapidcheck/seq/Create.h"
#include "rapidcheck/seq/Create.hpp"
#include "rapidcheck/seq/Operations.h"
#include "rapidcheck/seq/Operations.hpp"
#include "rapidcheck/seq/SeqIterator.h"
#include "rapidcheck/seq/SeqIterator.hpp"
#include "rapidcheck/seq/Transform.h"
#include "rapidcheck/seq/Transform.hpp"
#include "rapidcheck/shrink/Shrink.h"
#include "rapidcheck/shrink/Shrink.hpp"
#include "rapidcheck/shrinkable/Create.h"
#include "rapidcheck/shrinkable/Create.hpp"
#include "rapidcheck/shrinkable/Operations.h"
#include "rapidcheck/shrinkable/Operations.hpp"
#include "rapidcheck/shrinkable/Transform.h"
#include "rapidcheck/shrinkable/Transform.hpp"
#include "rapidcheck/state.h"
#include "rapidcheck/state/Command.h"
#include "rapidcheck/state/Command.hpp"
#include "rapidcheck/state/Commands.h"
#include "rapidcheck/state/Commands.hpp"
#include "rapidcheck/state/State.h"
#include "rapidcheck/state/State.hpp"
#include "rapidcheck/state/gen/Commands.h"
#include "rapidcheck/state/gen/Commands.hpp"
#include "rapidcheck/state/gen/ExecCommands.h"
#include "rapidcheck/state/gen/ExecCommands.hpp"