tarides / ocaml-platform-installer

The best way for developers to write software in OCaml
ISC License
61 stars 8 forks source link

Faster tests #143

Open Julow opened 1 year ago

Julow commented 1 year ago

It's not reasonable to add as many tests as we'd need in the current heavy-weight test framework. Time and resources are the limitation, the CI currently runs in up to 2 hours.

To build a robust CLI tool, we need lightweight tests. We currently lack good test coverage.

Example of lightweight tests we'd need:

Cram tests combined with a mock repository of quickly installing packages is something to investigate. A "dry-run" mode that avoids any call to Opam is also to consider.