• Stars
    star
    127
  • Rank 282,790 (Top 6 %)
  • Language
    C
  • Created almost 10 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

This repository contains tests for several projects done at 42.

Moulitest

This repository contains tests for several projects done at 42.

Tested 42 projects:

  • libft
  • get_next_line
  • ft_ls
  • ft_printf
  • libftasm

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 PATTERN=<regexp>
# e.g. To run only the tests starting with "05" you can use
make ft_ls PATTERN=^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 some libft tests are based on the work done by mbacoux. Thanks to all contributors.