Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 1.37 KB

README.md

File metadata and controls

38 lines (25 loc) · 1.37 KB

Unit Test Script Generator

This script automates the process of generating unit test scripts and reports for a given module using the VCAST tool. It extracts function names, creates separate test scripts for each function, and generates various reports.

Features

  • Generates test script extraction for all test cases.
  • Creates directories for storing unit test scripts and results.
  • Generates custom management, execution results, and full reports.
  • Option to generate separate test scripts for compound test cases.
  • Moves generated reports to a dedicated results directory.

Prerequisites

  • Ensure that C:\\VCAST\\clicast.exe is available on your system. If the path changes, update it in the code.
  • Python 3.x installed.

Usage

  1. Clone the repository or download the script.
  2. Navigate to the directory containing the script.
  3. Run the script using the command:
    python script_name.py
    
  4. Follow the on-screen prompts.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT


You can save the above content in a file named README.md and place it in the root directory of your project on GitHub. Adjust the content as needed to fit the specifics of your project or any additional details you'd like to include.