{"categories":[{"label":"Testing","url":"https://skillfed.io/packages/category/software-development-testing/5"}],"enrichment":{"capability":"scripttest runs command-line applications in subprocesses and captures their output and file modifications for testing purposes.","skillfed_tags":["cli-testing","subprocess-automation"],"use_cases":["Test a custom command-line tool by running it and verifying stdout and stderr output.","Validate that a CLI utility creates, modifies, or deletes files as expected during execution.","Write integration tests for build tools or deployment scripts that need to verify subprocess behavior.","Verify error handling in CLI applications by capturing and asserting on stderr output.","Test command-line scripts in automated test suites without manual output inspection."],"what_it_does":"scripttest is a testing library designed to help you verify the behavior of interactive command-line applications. It runs commands in subprocesses, captures their stdout and stderr output, and tracks any file modifications they produce. This makes it straightforward to write tests that validate what a CLI tool does without having to manually inspect output or filesystem state.\n\nThe library is built for developers testing their own command-line scripts and utilities. With no runtime dependencies and support for Python 3.8 through 3.13 on both CPython and PyPy, it's lightweight and compatible with modern Python environments.","worth_installing":"Yes. scripttest is actively maintained, has zero known vulnerabilities, carries a permissive MIT license, and installs with no dependencies. It is purpose-built for CLI testing and well-suited for any project that needs to verify command-line tool behavior in automated tests."},"id":"scripttest","links":{"html":"https://skillfed.io/packages/scripttest","md":"https://skillfed.io/packages/scripttest.md","pypi":"https://pypi.org/project/scripttest/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-07-08","license_spdx":"MIT","license_treatment":"permissive","name":"scripttest","python_support":"supports_current","summary":"Helper to test command-line scripts"},"popularity":{"monthly_downloads":144141,"position":11160,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"3.0"}
