Skip to content

Latest commit

 

History

History

testscripts

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:

In addition to the standard testscript commands, we also support running devbox commands. Examples include:

  • devbox init
  • devbox add <pkg>
  • ...

We've also added some handy comparison functions

  • path.len <number>: verifies that the PATH environment variable has the given number of entries
  • json.superset <superset.json> <subset.json>: verifies that superset.json has all the keys and values present in subset.json