Skip to content

kimarti/go-reloaded-test

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-reloded-test

This is a fork of the go-reloaded_test project.

Objectives

go-reload-test is automatic tester for go-reload project.

How to use

  • Place the contents in the root folder of the program:
├── TestCases/
│   ├──case1.txt
│   └── ...
├── YourOutput/
├── ExpectedOutput/
|   ├──case1_expected.txt
│   └── ...
│  
├── main.go
├── go.mod
└── script.sh

Change the permissions to make the script executable and run.

$chmod +x script.sh
$./script.sh

Failed cases will be displayed in red, with your output on top and the expected one below it

< AN book an apple a dog
\ No newline at end of file
---
> A book an apple a dog
\ No newline at end of file

Go directories

/TestCases

All test cases are stored in this folder

/ExpectedOutput

Expected output for TestCases, pay atentions to the \n newlines at the end of the file

/YourOutput

This is your output

Notes

You can create your own test cases following the original

About

It's a tester for go-reload project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%