parallel
parallel copied to clipboard
test coverage problem
First thanks for this simple to use solution for parallel processing php stuff. :) I only wanted to know if I can fix such test coverage drop ⇾ 80% to 14%
test coverage: https://coveralls.io/builds/30873469
commit: https://github.com/voku/Simple-PHP-Code-Parser/commit/c0abd3d816c80372a06f0689a312b2689f226942
Unfortunately no, since any code run in another process/thread does not get counted toward test coverage.
@kelunik Do you know of any way we can count those lines? We could have a context that doesn't run in another process/thread for testing, but I'd really like to avoid "faking it."