Currently, the roc test
command only checks one file at a time. Do we want to test multiple files at once?
I want to have Roc test all the files in the crates/compiler/builtins/roc
directory without having to execute the command once per file.
I like the idea of having it test more than one!
@Ayaz Hafiz, I just started reading the file you recommended here. It will take me a while to interpret it since I don't have much experience with Rust.
Is there a sample of a test that tests roc test
? I tried looking here crates/cli/tests/cli_run.rs
but didn't find anything that fits.
there are some tests here: https://github.com/roc-lang/roc/blob/5a7211d874224c9bb6f8a709bb5f41ec383286c1/crates/repl_expect/src/lib.rs#L213
happy to chat about this if you'd like, as I'm sure anyone else in the channel would be
Last updated: Jul 06 2025 at 12:14 UTC