End-to-end testing
See run-command’s test scenarios (opens in a new tab) for an example.
run.shlaunches a headless (viascreen) Emacs instance for eachscenario-*.elfilescenario-*.elloadssetup.elto perform common setup and load fixturessetup.elusesdirector-bootstrapto create a controlled testing environment in/tmpand install dependencies
scenario-*.elinvokesdirector-runwith instructions to run the scenario
See Running in a controlled environment for information about director-bootstrap.el.