meilisearch/MeiliSearch

Find a way to test our CLI

Open

#3,239 opened on Dec 13, 2022

 (1 comment) (1 reaction) (0 assignees)Rust (2,542 forks)batch import
help wantedmaintenanceOLD

Repository metrics

Stars
 (57,572 stars)
PR merge metrics
 (Avg merge 11d 20h) (41 merged PRs in 30d)

Description

Currently, our CLI is barely tested. We've already encountered a bunch of bugs in the past, and we just discovered two new bugs after the huge refacto of the v0.30.

It's a shame that we don't have a whole test suite targeting our CLI, but I understand it's hard, and it wasn't prioritized.

I would like to gather some resources on how we could do it to start working on it after the v1.0. I think that's the only way we can ensure we don't break anything after a refacto. The config file and the env variables aren't tested either :pensive:

Contributor guide