Skip to content

Musosuke/CrossLangIOTest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

CrossLangIOTest

CrossLangIOTest is a framework designed to verify the consistency of function inputs and outputs across different programming languages. This project automates the generation of test cases and comparisons to ensure that functions produce equivalent results when implemented in multiple languages.

Features

  • Automatic Directory and File Creation: Easily set up the necessary directories and files for your test cases.
  • Multi-language Support: Generate unit tests for functions in both Python and C++.
  • Input/Output Configuration: Automatically generate configuration files listing input and output parameters.
  • Result Comparison: Tools to compare the outputs from different language implementations to ensure consistency.

How to Use

  1. Define Function and Parameters: Edit the script to specify the function name, input parameters, and output return parameters.

  2. Run the Script: I run it on vscode, please modify the top configs to generate unit test directory and test files.

  3. Implement Unit Tests: Implement the generated unit test files in the respective languages.

  4. Compare Results: Use the result comparator tool to ensure that the outputs are consistent across languages.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages