Running the tests
This project uses Catch2 testing framework. You can find the whole test suite here.
If you would like to, you can run the test suite yourself by following the instructions below.
-
Clone the repository.
$ git clone https://github.com/dead-tech/argparse-cpp
-
Change directory to the repository root.
$ cd argparse-cpp
-
Create a build folder and cd into it.
$ mkdir build && cd build
-
Install the conan dependecies.
$ conan install ..
If this does not work for you checkout the installation section for further instructions.
-
Configure cmake and compile the tests
$ cmake .. && make
You can also specify a number of jobs as an argument to the
make
command to speed up the compilation process like somake -j5
. -
Run the tests
$ ./argparse-cpp_tests
Currently all the tests are expected to: