LucasKuhn / minishell_tester

Tester for the 🔥 minishell 🔥 project at École 42
128 stars 22 forks source link
minishell minishell-tester
image

Installation

Clone the repo inside your minishell folder

cd minishell
git clone https://github.com/LucasKuhn/minishell_tester.git
cd minishell_tester

How to run

Run the tester file to run all the tests for the mandatory part of the project

./tester

Separate tests

You can also call ./tester + test_file to run only a specific part of the test:

./tester builtins 
./tester pipes 
./tester redirects 
./tester extras 

Manual tests

The tester does not test everything. We added some suggestions of manual test in the manual_tests folder

Bonus

We also have tests for the wildcards part of the bonus:

./tester wildcards 

Extra tests

We decided to leave out some tests from the mandatory part, things like syntax errors and OS specific code.

Screen Shot 2022-06-26 at 10 40 18 AM

You can run them like any other separate test:

./tester syntax
./tester os_specific