v0.3.3 stable
v0.3.x stable release
CLI
- Breaking CLI changes, introduction of two subcommands,
test
andgenerate
.test
for running and comparing two files and finding missing edge cases, whilegenerate
is just to generate the testcase and print it to generate
now supports copying testcases over clipboard using-c
flag, using which you can use testcases in other platforms as welltest
subcommand now supports an optional--no-stop
flag, that can be used to never stop after only one failing testcase is found
Library Changes
- Strong support for length based checks and charset(string modifiers). Sample usage
cpast generate "S[10,'U']"
- 'U' for uppercase, 'L' for lowercase, '0'..'9' for digit, 'N' for Alphanumeric, 'D' for All (including symbols), 'A' for alphabets only!
- Introduction of support for character literal in cpast, currently being used for string modifier expressions only.
- compile_and_test method now requires an boolean argument at last to accord to changes in CLI. This argument as addressed earlier too is to whether or not to stop after one failing testcase is found.
- Minimum Value for Integer in capturing group now automatically conforms to 0, if negative.
- Dependencies update
- Fixed & Updated Docs
Ops
- This release also address compilation issues of users using android, by using
--no-default-features
flag during compilation. - Dependencies update of clap to 4.4.18
Performance Fixes
- remake implementation to reduce repeated compilation based on remake implementation in GNU make
- Significant improvement in benchmark performance for
test
with files of compiled programming language.
Full Changelog: v0.2.9...v0.3.3