End-to-end testing
See run-command’s test scenarios (opens in a new tab) for an example.
run.sh
launches a headless (viascreen
) Emacs instance for eachscenario-*.el
filescenario-*.el
loadssetup.el
to perform common setup and load fixturessetup.el
usesdirector-bootstrap
to create a controlled testing environment in/tmp
and install dependencies
scenario-*.el
invokesdirector-run
with instructions to run the scenario
See Running in a controlled environment for information about director-bootstrap.el
.