hhvm / hacktest

A unit testing framework for Hack

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Parallization (DontAwaitInALoopLinter)

fredemmott opened this issue · comments

We probably want to run tests within a file sequentially (cc @BobertForever ?) - but we can probably run multiple files simultaneously.

These are picked up by the DontAwaitInALoop linter - adding HHAST_IGNORE_ERROR[DontAwaitInALoop] in the places this matters

Major options:

  • do everything sequentially
  • use async
  • spin up HHVM in CLI server mode (or HTTP on a unix socket), and run separate classes in separate requests contexts
  • if xbox is usable in CLI mode, this might be a simpler alternative

This is an extension beyond the basic requirements.

XBox is usable in CLI mode

ff id hack