Skip to content

ftwftw0/42shTests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Tests unitaires sur 42sh

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published