Skip to content

test: shrink the suite to examples and properties - #596

Merged
vjaganat90 merged 7 commits into
PolusAI:masterfrom
vjaganat90:test/suite-shrink
Nov 13, 2026
Merged

vjaganat90 merged 7 commits into
PolusAI:masterfrom
vjaganat90:test/suite-shrink

Conversation

@vjaganat90

@vjaganat90 vjaganat90 commented Nov 13, 2026 •

Copy link
Copy Markdown
Member

Stacked on #586 (feat/one-target-table).

What

  • Replaces hand-built unit tests and inline case tables, area by area, with readable example workflows in files (workflow.wic, its tools, job.yml, and an expected.yaml that states every output or every refusal) and with properties: from 755 test functions to 230.
  • Every .wic, .cwl and .nf document a test reads lives in a file, and no parametrized table runs over 7 rows.
  • Deletes the package marker: the package job selects every fast test by exclusion, so all of them gate pull requests again.

Why
Most of the deleted tests pinned one instance of a rule that a property or a stated example already covers; one readable example per behaviour says more with less.

@vjaganat90
vjaganat90 force-pushed the test/suite-shrink branch 4 times, most recently from e6f971b to 138e78f Compare November 13, 2026 09:26
@vjaganat90
vjaganat90 marked this pull request as ready for review November 13, 2026 15:09

@darkclad darkclad left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

The run cases are seven example directories that state every output, run
under Nextflow and cwltool, and stops that name their step and why.
Refusal tables are seven families of .wic roots refused by code, step and
subject; import cases are the example pipelines; IR, support and lowering
tables become loops over stated answers and properties.
The parse case tables and accepted shapes are seven families of .wic documents, each
stated by code, line, column and reading; one census loops the code table, and the
schema keeps its laws but no pins on how it is built.
Run examples move to data/examples with a compile leg and a cwltool leg; the compiler, inference, contributions,
lowering and inline flags are judged on example directories, and the workflows() laws share one compile.
Preflight and CLI runs become seven scenario directories; packing, realtime,
drawing, plain CWL and partial failure become projects; run handles, timelines.
Pairs, shipped scripts, the builder script, API refusals, from_wic families and REST
payloads state what they compile to; the corpus is checked once per leg.
The package job selects by exclusion, so the package marker and unused
hermeticity self-tests go; pytest-xdist replaces pytest-parallel, which
pytest 10 breaks. Doc merges are a compiler example; the eager check a property.
@vjaganat90
vjaganat90 merged commit 9066ca0 into PolusAI:master Nov 13, 2026
3 checks passed
@vjaganat90
vjaganat90 deleted the test/suite-shrink branch November 13, 2026 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants