lol
libft is the first project at Codam. This is a tester to test out all the functions for edge cases or memory violations.
- Clone the repo in libft folder, --recursive flag is for submodules, and is necessary otherwise some tests may not run.
cd libft
git clone git@github.com:The-Tests-at-the-End-of-the-Universe/libft_tester.git --recursive
- cd into directory
cd libft_tester
- run bash script
bash tester.sh
- run help flag with script to see all options
bash tester.sh --help
- run tests without norminette
bash tester.sh -nn
- run tests without forbidden function test
bash tester.sh -nf
- run tests without memory tests
bash tester.sh -nm
- run tests with strict (fail tests)
bash tester.sh -s
To contribute, a pull request can be made to add changes that you want to add. Look at the open issues to see how you could contribute.
- run tester.sh
- compile unit tests in c together with libft
- script runs norminette test
- script runs forbidden function test
- script run tests per function together with valgrind
- unit tests are all in one file per function, tests in c print out fail or success and returns exit code + prints errors out in stderr
- script catches unit tests errors and valgrind errors and redirections them to log files.
Distributed under the MIT License. See LICENSE.txt
for more information.