Skip to content

Tester for the 🔥 minishell 🔥 project at École 42

Notifications You must be signed in to change notification settings

LucasKuhn/minishell_tester

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 
  • 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.

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

You can run them like any other separate test:

./tester syntax
./tester os_specific