rejeep / ert-runner.el

Opinionated Ert testing workflow
85 stars 19 forks source link

Run tests in subprocess #6

Open rejeep opened 11 years ago

rejeep commented 11 years ago

Ert runner have some runtime dependencies that will pollute the test environment. Run tests in subprocess to avoid this.

Fuco1 commented 9 years ago

This would also enable us to run more tests in parallel (think make -j).

rejeep commented 9 years ago

Yes, but it might be a bit messy to get the output decent.

Fuco1 commented 9 years ago

Hm yea, the numbered output would be only possible if you buffered and dumped it at the end, or allowed the numbers change between runs. Ideally only the main instance would write output, in some atomic way, and the subprocesses would pipe into some filter which would buffer until it is finished.

I was just looking around if there's a way to run in parallel and found this thread. Might be worth to bump in case someone would want to take a look.