Skip to content

Releases: benwoo1110/testcase-maker

Another Update

11 Oct 09:40
Compare
Choose a tag to compare
  • 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

30 Sep 14:56
Compare
Choose a tag to compare
Updates Throughout Pre-release
Pre-release

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 into generator, resolver and subtask.
  • Rename class from VarRef to ValueRef
  • Rename class from RandomItem to RandomChoice
  • Rename generator attribute ouput_dir to output_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

13 Sep 12:11
Compare
Choose a tag to compare
Initial Release Pre-release
Pre-release
  • Implement basic building of testcase structure.
  • Implement basic generation of testcases.
  • Implement subtasks support.