CLI testing strategies and patterns for Node.js (Jest) and Python (pytest, Click.testing.CliRunner). Use when writing tests for CLI tools, testing command execution, validating exit codes, testing output, implementing CLI test suites, or when user mentions CLI testing, Jest CLI tests, pytest CLI, Click.testing.CliRunner, command testing, or exit code validation.
Limited to specific tools
Additional assets for this skill
This skill is limited to using the following tools:
examples/exit-code-testing/README.mdexamples/integration-testing/README.mdexamples/jest-advanced/README.mdexamples/jest-basic/README.mdexamples/pytest-click/README.mdscripts/run-cli-tests.shscripts/setup-jest-testing.shscripts/setup-pytest-testing.shscripts/validate-test-coverage.shtemplates/jest-cli-test.tstemplates/jest-config-test.tstemplates/jest-integration-test.tstemplates/pytest-click-test.pytemplates/pytest-fixtures.pytemplates/pytest-integration-test.pytemplates/test-helpers.pytemplates/test-helpers.ts