Clone the repo inside your minishell folder
cd minishell
git clone https://github.com/LucasKuhn/minishell_tester.git
cd minishell_testerRun the tester file to run all the tests for the mandatory part of the project
./testerYou can also call ./tester + test_file to run only a specific part of the test:
./tester builtins ./tester pipes ./tester redirects ./tester extras The tester does not test everything. We added some suggestions of manual test in the manual_tests folder
We also have tests for the wildcards part of the bonus:
./tester wildcards
- Make sure your executable is called
minishell_bonus
We decided to leave out some tests from the mandatory part, things like syntax errors and OS specific code.
You can run them like any other separate test:
./tester syntax./tester os_specific

