For example, the entire test suite of docs.hhvm.com can be ran locally - but a subset, marked with @groups remote can be ran against a live deployment via HTTP.
With PHPUnit, the docs.hhvm.com deploy process was:
build container
run all tests in container
copy container to staging.docs.hhvm.com
run 'remote' tests against staging.docs.hhvm.com
switch cnames between staging.docs.hhvm.com with docs.hhvm.com
For example, the entire test suite of docs.hhvm.com can be ran locally - but a subset, marked with
@groups remote
can be ran against a live deployment via HTTP.With PHPUnit, the docs.hhvm.com deploy process was:
4 isn't possible now