Skip to content

Teuop/moulitest

 
 

Repository files navigation

Moulitest: Test your 42 projects

This repository contains tests for several projects done at 42.

Tested 42 projects:

  • libft
  • get_next_line
  • ft_ls
  • ft_printf (in progress)

Feedbacks, github issues and pull requests are welcome.

Quick Start

Create the config file

cp config.ini.template config.ini

Edit the config file

vim config.ini # add your configs

Run tests

make

Advanced use

Run only some tests

make ft_ls tests=<regexp>
# e.g. To launch only the test 05 you can use
make ft_ls tests=^05

Notes

GNL

  • If the tests stop in the middle, it could mean that your get_next_line is waiting for an input from the file descriptor but nothing is coming.

Credits

The test framework and many libft tests are based on the work done by Maxime Bacoux (mbacoux). Here is the original repository: https://github.com/Nax/libft-test.
Thanks to lefta (aka celegran) for his work, especially on the v2.

About

Tests for 42 projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 95.4%
  • Makefile 2.9%
  • Perl 1.1%
  • Shell 0.6%