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,
-mits module, its binary): an import of the module behind it runs no command. - Location
- Where tests live today.
- Runner
Layout - One runner’s layout.
- Test
Layout - The checkout’s test layout.
Constants§
- STACKS
- The manifests a stack is planned in, by the language each says.
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). - stack_
text - The checkout’s stack, as planning is told it: its manifests and the
checks that test it — so a plan is made in it, never invented. No
manifest:
None, the plan chooses. - task_
via_ command - Whether a task’s tests run the project’s command: its title, or a scenario it cites, is about a command line.
- 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.