minishell_tester
minishell_tester copied to clipboard
Tester for the 🔥 minishell 🔥 project at École 42

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
- mandatory
- heredoc
- signals
- not_mandatory
Bonus
We also have tests for the wildcards
part of the bonus:
./tester wildcards
- Make sure your executable is called
minishell_bonus
Extra tests
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