rtfeldman / node-test-runner

Runs elm-test suites from Node.js. Get it with npm install -g elm-test
BSD 3-Clause "New" or "Revised" License
134 stars 79 forks source link

Add option to clear the console #616

Closed stoeffel closed 1 year ago

stoeffel commented 1 year ago

We are running elm-test --watch with https://github.com/DarthSim/overmind Unfortunately, it doesn't only clear the output for elm-test, but everything else that is running through overmind. This PR adds an option to preserve the output and printing a separate between reruns. Let me know if this makes sense to you or if you want me to change anything. Thanks!

lydell commented 1 year ago

Here are some thoughts:

stoeffel commented 1 year ago

@lydell Thanks for your feedback. I committed some changes to address it. I think we are going to be able to upgrade to elm-explorations/test v2 so would be awesome to have this change in the release today, but it's not a big deal if it isn't, because as a work around we temporarily switched to elm-test-rs.

lydell commented 1 year ago

Thanks! This is perfect, I’m adding it to the release! 🎉