Page MenuHomePhabricator

Phester: parallel test execution
Closed, InvalidPublic

Description

Phester should be able to execute multiple tests in parallel. Tests within one suite can be executed in parallel as well, so all tests can be managed as a single "bucket". The requests within one test however have to be sequential.

All fixtures should be run before any test suites. The output for a test suite needs to be collected and written in one go, to avoid garbled output due to multiple test suites writing to the log in parallel.

Parallel execution is controlled with the --parallel <n> option, with 1 (no parallelism) being the default.

Side note: fixture execution could as well be parallelized, but that is more complex, since fixtures may depend on each other, so some fixtures need to to run before some others.

Event Timeline

CCicalese_WMF subscribed.

We will not be building Phester.