Test devbox using the testscripts framework.
This directory contains testscripts: files ending in .test.txt that we
automatically run using the testscripts framework.
For details on how to write these types of files see:
- https://bitfieldconsulting.com/golang/test-scripts
- https://pkg.go.dev/github.com/rogpeppe/go-internal/testscript
In addition to the standard testscript commands, we also support running devbox commands. Examples include:
devbox initdevbox add <pkg>- ...
We've also added some handy comparison functions
path.len <number>: verifies that the PATH environment variable has the given number of entriesjson.superset <superset.json> <subset.json>: verifies thatsuperset.jsonhas all the keys and values present insubset.json