Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 533 Bytes

File metadata and controls

19 lines (13 loc) · 533 Bytes

Testing & Maintenance

Testing a DevContainer Feature

To test a particular devcontainer feature, say, lazygit:

devcontainer features test -f lazygit --skip-autogenerated -i mcr.microsoft.com/devcontainers/base:ubuntu -p .
  • --skip-scenarios ... tests only the test.sh test case, but no scenario tests.
  • --filter alpine --skip-autogenerated ... tests only the alpine scenario (and neither test.sh).

Installing/Upgrading the DevContainer CLI

npm install -g @devcontainers/cli@latest