elm-test-rs
elm-test-rs copied to clipboard
Option to include `Debug.log` logs with passing tests
I have a workflow where I would prefer to have elm-test-rs
output the logs from Debug.log
(for a subset of tests) also for succeeding tests, to inspect how some Elm functions work.
So I use one command to run all tests and then one where I filter to a subset of tests. The logs generated in all tests would be expensive to forward because these are more than 1000 times larger than the subset I want to inspect more closely.
elm-test-rs --filter=single-test # I want to inspect how some function works (Logs are < 10 Kilobytes)
elm-test-rs # I want to see the number of passing/failing tests (Logs would be > 10 Megabytes, too much noise)
Does elm-test-rs
offer an option to enable that?
In the interactive help, I discovered --report=consoleDebug
, which to me seemed at first sight like it might do that, but that option does not lead to including logs from Debug.log