Expand description
The project’s test layout, detected by code: the runners of the checkout, each runner’s collection rule as configured, where tests live today, the naming habit, and where speccoder puts a task’s acceptance file. A fact handed to the implementer and every test author, never a judge input; undeterminable parts are listed as unknown, never guessed. Same checkout, same bytes.
Structs§
- Command
- A command the project declares: what a person runs, and the words a test that runs it names (the command, its entry module, its binary).
- Location
- Where tests live today.
- Runner
Layout - One runner’s layout.
- Test
Layout - The checkout’s test layout.
Functions§
- commands
- The commands
rootdeclares:[project.scripts]and a package’s__main__.py(Python), a Cargo binary, apackage.jsonbin. - detect
- Detects the layout of the checkout at
root;check_argvsare the checks’ commands (they name the runners). - text_at
- The layout’s text for the project at
root, its checks read from itsspeccoder.toml. - via_
command - Whether a story’s Independent Test (its line in the story’s text) or a scenario’s When (what the person does) is about a command line, by whole words: the interface is then the project’s command, never an internal module.