argparse/test
Sean Robinson f710bbdacf Add operator bool for ArgumentParser
This allows checking whether user input was processed into the parser
or any attached subparsers.

Closes #212

Signed-off-by: Sean Robinson <sean.robinson@scottsdalecc.edu>
2022-10-10 15:26:42 -07:00
..
.gitignore
CMakeLists.txt Add operator bool for ArgumentParser 2022-10-10 15:26:42 -07:00
doctest.hpp
main.cpp
README.md
test_actions.cpp
test_append.cpp
test_bool_operator.cpp Add operator bool for ArgumentParser 2022-10-10 15:26:42 -07:00
test_compound_arguments.cpp
test_const_correct.cpp
test_container_arguments.cpp
test_default_args.cpp
test_equals_form.cpp Added example to README for option=value support 2022-09-21 07:23:02 -07:00
test_get.cpp
test_help.cpp
test_invalid_arguments.cpp
test_is_used.cpp
test_issue_37.cpp
test_negative_numbers.cpp
test_optional_arguments.cpp
test_parent_parsers.cpp
test_parse_args.cpp Added -Wshadow and -Wconversion to CXX_FLAGS and fixed warnings 2022-09-21 07:43:46 -07:00
test_parse_known_args.cpp Closes #181 2022-09-21 05:47:47 -07:00
test_positional_arguments.cpp Include canonical argument name in nargs range validation error 2022-09-23 07:54:58 -07:00
test_prefix_chars.cpp Added support for custom prefix characters #67 2022-09-21 09:48:48 -07:00
test_repr.cpp Added -Wshadow and -Wconversion to CXX_FLAGS and fixed warnings 2022-09-21 07:43:46 -07:00
test_required_arguments.cpp
test_scan.cpp
test_subparsers.cpp
test_utility.hpp
test_value_semantics.cpp
test_version.cpp

Argparse Tests

Linux

$ mkdir build
$ cd build
$ cmake ../.
$ make
$ ./tests

Windows

  1. Generate Visual Studio solution
$ mkdir build
$ cd build
$ cmake ../. -G "Visual Studio 15 2017"
  1. Open ARGPARSE.sln
  2. Build tests in RELEASE | x64
  3. Run tests.exe