Skip to content

Reynardd/testrunner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TestRunner

preview

This program runs the tests you give it on the program you tell it

Screenshot 2023-03-23 220312

it looks for all the files inside the In and Out folder.gives all the data inside an Input file to the program and compares it with the text inside Output

for example we have a program that takes two numbers and multiplies them by each other. we have test case 1.txt inside our In folder:

image

and have the output inside Out folder:

image

Note name of the test should be exactly the same in both In and Out folder.


to run this program. first compile it (the compiled version is already there) and add it to your enviroment variables (Windows) or place it next to your executable

in shell: testrunner <executable name> <path to tests - optional> where <path to tests> is the directory that contains In and Out folder. if you don't pass this argument to the program it will look for these folders inside ./Tests/

About

little testrunner to make vscode a little prettier

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages