-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Description
Hi!
I would like to kindly request the opam reporitory maintainers to stop running dune runtest in the CI.
The way I see it, this is creating an anti-pattern:
- Tests are intended for the project's internal consumption to make sure that the maintainer can track progress, regression etc.
- In many cases, running the tests intended to cover a large project will require specific software and hardware setup that only the maintainers should be in charge of understanding/clarifying.
- The opam packaging CI should only be concerned about the shape of the built package, does it install the right files, builds etc and how a new package impacts the rest of the packaging ecosystem.
- Running
dune runtestin the opam CI creates maintenance burden on opam repository maintainers who then have to figure out if a test failure is legitimate or not even though they have no prior knowledge of the underlying package's logic. ⚠️ On the package maintainer side, and this is perhaps the most important, this creates a big anti-pattern: there is now an vested interest in moving the packaging's test outside of thedune runtestframework to prevent their exposure during theopampackage review process. However, thedunetesting framework is not just a convention for running tests, it's also a convention for installing testing dependencies so, as much as possible,dune runtestand dune testing dependencies should stay hands-in-hands.
Thanks y'all for y'all hard work and consideration and happy new year! 🎉
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels