argparse/test
Sean Robinson cb3da173f6 Fix crash with char[] default values
Closes #249

Reported-by: @pfeatherstone
Signed-off-by: Sean Robinson <sean.robinson@scottsdalecc.edu>
2023-01-05 13:02:40 -07:00
..
.gitignore Renamed directories 2019-04-01 22:01:40 -04:00
CMakeLists.txt Fix crash with char[] default values 2023-01-05 13:02:40 -07:00
doctest.hpp Updates doctest from v2.3.5 to v2.4.8 2022-04-16 20:35:37 +05:30
main.cpp Annotate test cases with doctest::test_suite 2019-11-21 14:24:50 -06:00
README.md Update README.md 2019-04-01 22:03:59 -04:00
test_actions.cpp Added table of contents to README and clang formatted code 2022-09-20 20:27:24 -07:00
test_append.cpp Added table of contents to README and clang formatted code 2022-09-20 20:27:24 -07:00
test_as_container.cpp Add ArgumentParser::at to retrieve arguments and subparsers 2022-11-29 13:43:16 -07:00
test_bool_operator.cpp Add operator bool for ArgumentParser 2022-10-10 15:26:42 -07:00
test_compound_arguments.cpp Added table of contents to README and clang formatted code 2022-09-20 20:27:24 -07:00
test_const_correct.cpp Introduce separate const-correctness test 2021-08-03 22:12:05 +02:00
test_container_arguments.cpp Added table of contents to README and clang formatted code 2022-09-20 20:27:24 -07:00
test_default_args.cpp Added table of contents to README and clang formatted code 2022-09-20 20:27:24 -07:00
test_default_value.cpp Fix crash with char[] default values 2023-01-05 13:02:40 -07:00
test_equals_form.cpp Added example to README for option=value support 2022-09-21 07:23:02 -07:00
test_get.cpp Added table of contents to README and clang formatted code 2022-09-20 20:27:24 -07:00
test_help.cpp Added table of contents to README and clang formatted code 2022-09-20 20:27:24 -07:00
test_invalid_arguments.cpp Added table of contents to README and clang formatted code 2022-09-20 20:27:24 -07:00
test_is_used.cpp Added table of contents to README and clang formatted code 2022-09-20 20:27:24 -07:00
test_issue_37.cpp Added table of contents to README and clang formatted code 2022-09-20 20:27:24 -07:00
test_negative_numbers.cpp Added table of contents to README and clang formatted code 2022-09-20 20:27:24 -07:00
test_optional_arguments.cpp Added table of contents to README and clang formatted code 2022-09-20 20:27:24 -07:00
test_parent_parsers.cpp Added table of contents to README and clang formatted code 2022-09-20 20:27:24 -07:00
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 Added table of contents to README and clang formatted code 2022-09-20 20:27:24 -07:00
test_scan.cpp Closes #73 2020-05-08 14:35:05 -05:00
test_subparsers.cpp Add is_subcommand_used overload 2022-11-08 01:31:45 +02:00
test_utility.hpp Unify container operations 2019-05-12 17:17:21 +02:00
test_value_semantics.cpp Introduce separate const-correctness test 2021-08-03 22:12:05 +02:00
test_version.cpp Added table of contents to README and clang formatted code 2022-09-20 20:27:24 -07:00

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