François Thiré
saroupille.bsky.social
François Thiré
@saroupille.bsky.social
Software engineer
This is indeed a great way to test the output of a single binary.
January 28, 2025 at 8:10 AM
I am not sure why. For each test you want to declare, you need to call one function and provide it with a name and optionally some tags.

Then for your test library you must call the function `Test.run` once.
January 28, 2025 at 8:02 AM
Maybe I have used this framework for too long now, but I think it is reasonable. Why do you think that?
January 28, 2025 at 7:46 AM
Have you tried Tezt? While it was initially developed for writing integration tests, it works pretty well for unit tests and has an extension for supporting PBT too. It has pretty good documentation too: gitlab.com/nomadic-labs...
Nomadic Labs / Tezt · GitLab
A test framework for OCaml, suited for writing and executing unit, integration and regression tests and focusing on user experience.
gitlab.com
January 28, 2025 at 12:34 AM
Dylan, I have never heard about this language before.
January 17, 2025 at 11:53 PM
Yeah this is very annoying especially that most of the time the naive one with a O(n^2) complexity would be enough and it is a bit annoying to reimplement it anytime I need it.
January 8, 2025 at 11:38 PM
With external dependencies it can be painful, no? Maybe making it opt-in with a suffix could be nice (maybe there are prefixes supported too?).
December 28, 2024 at 10:29 PM
Do you think that with a language having this "feature" it would be easy to opt-out easily like with an annotation or something similar? And this way, could we get a better dev UX?
November 23, 2024 at 9:50 AM
La façon dont le contenu est modéré je présume. Pas sûr de savoir ce que ce réseau social compte mettre en place pour ça.
October 18, 2023 at 10:47 AM