Add-on structure and function:

Sections of the install.yaml file: see doc

Advanced topic: Environment variable and go template replacements, see doc.

Let’s look at a trivial example add-on, ddev-hello-world

Automated tests are done with Bats, see Bats docs. It’s really just bash scripting with a few extra features, such as assertions.