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.
- 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.
- Ensure that
C:\\VCAST\\clicast.exe
is available on your system. If the path changes, update it in the code. - Python 3.x installed.
- Clone the repository or download the script.
- Navigate to the directory containing the script.
- Run the script using the command:
python script_name.py
- Follow the on-screen prompts.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
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.