Releases: benwoo1110/testcase-maker
Releases Β· benwoo1110/testcase-maker
Another Update
- Add support for python 3.8
- Add time taken output for each stdin and stdout generation.
- Implement c++ executor.
- Move to use logging module instead of print. Add
logging.basicConfig(level=logging.INFO)
to the start of your code to get back similar output as previous versions. - Add ability to custom newline type for generated files.
Executor.execute
now has the tempdir parameter and returns str instead.- Misc changes to the readme.
Updates Throughout
New additions:
- Implemented java and python executors.
- Properly auto-detect executor based on file extension.
- Allow customisation of stdin and stdout filename.
- Have a default output directory path.
- Defaults to 5 testcases if no subtask is specified.
- Always use unix
\n
newline for output files.
Breaking changes:
- Refactor
core
module. It is now split intogenerator
,resolver
andsubtask
. - Rename class from
VarRef
toValueRef
- Rename class from
RandomItem
toRandomChoice
- Rename generator attribute
ouput_dir
tooutput_directory
. - Remove generally useless
generator.repeat
method. - Remove
executor
attribute from generator class.
Other changes:
- Improve generation speed with various string concatenation improvements.
- Optimised imports.
- Add various checks and validation.
There is now an RTD site for this lib: https://testcase-maker.readthedocs.io/en/stable/
Initial Release
- Implement basic building of testcase structure.
- Implement basic generation of testcases.
- Implement subtasks support.