Dynamic integration of command line utilities
Abstract
Dynamic integration of command line utilities is disclosed. For example, a host has a processor and a memory, where the memory stores a first program with a command line interface (CLI). A program testing module executes on the processor to discover a plurality of commands accepted by the CLI, where a command of the plurality of commands additionally accepts a subcommand and an argument. A first input data type associated with the first command is determined. A first test case is generated that invokes the first command with first test data of the first input data type. A second input data type that is incompatible with the command is determined based on the first input data type. A second test case that invokes the command with second test data of the second input data type is generated and both test cases are executed.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 8 · Forward citations: 0.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A system comprising: a host with a processor and a memory, wherein the memory stores a first program with a command line interface (CLI); and a program testing module executing on the processor to: discover a plurality of commands accepted by the CLI, wherein a first command of the plurality of commands additionally accepts a first subcommand and a first argument; determine a first input data type associated with the first command; generate a first test case that invokes the first command with first test data of the first input data type; determine, based on the first input data type, a second
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (8)
Non-Patent Literature (4)
- 26.3 unittest—Unit testing framework; https://docs.python.org/3.4/; library/unittest.html; 2018; retrieved Aug. 29, 2018; pp. 1-45.
- Building Simple Command Line Interfaces in Python by Randall Degges, https://stormpath.com/blog/category/python; Nov. 2, 2015; retrieved Aug. 29, 2018; pp. 1-21.
- Lutsky, “documentation parser to extract software test conditions”, 1992 , 30th Annual Meeting of the Association for Computational Linguistics, pp. 294-296 (Year: 1992).
- Pytest and tox—tox 3.2.2. dev6 documentation; https://tox.readthedocs.io/en/latest/example/pytest.html#basic-example; retrieved Aug. 29, 2018; pp. 1-4.