Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 773 Bytes

File metadata and controls

30 lines (19 loc) · 773 Bytes

42shTests

Integration tests designed for the projects of the Shell branch at 42 School: minishell, 21sh and 42sh.

Installation

git clone https://github.com/ftwftw0/42shTests ~/42shTests

How to use

Replace the first argument by the path to your own binary (e.g.: /Users/admin/Documents/42sh/42sh):

cd ~/42shTests && sh 42shTests.sh "/ABSOLUTE/PATH/TO/YOUR/SHELL"

You may want to only run tests for a specific project, just add a matcher as second argument:

cd ~/42shTests && sh 42shTests.sh "/ABSOLUTE/PATH/TO/YOUR/SHELL" "minishell/" # minishell only
cd ~/42shTests && sh 42shTests.sh "/ABSOLUTE/PATH/TO/YOUR/SHELL" "exit/"      # builtin exit only
...

Credits

Made by @gabkk, @jgigault, @ftwftw0