You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds TestContractFormats sibling to the existing TestContractDates,
running formats.RunContract against the same five data-producing
subcommands. Bumps github.com/quantcli/common/compat to the version
that includes the formats bundle (QUA-15) and the SkipDataPath /
SupportedFormats affordances (QUA-21, QUA-28).
- SupportedFormats: ["markdown","json"] declares the codec subset
crono actually implements; CSVHasHeader skips with a named reason
rather than failing.
- SkipDataPath: true opts out of the JSONIsArray/CSVHasHeader/
DefaultIsMarkdown data-path subtests because crono's data path
requires CRONOMETER_USERNAME/PASSWORD which the compat CI job does
not provide. Parse-level subtests (HelpDocumentsFormatFlag,
UnknownFormatFails, FlagValidationIsHermetic) still attest the §4
surface.
- CI compat job's -run filter expands to TestContract(Dates|Formats).
Reuses the existing compat job; no new workflow.
Verified locally (CRONO_EXPORT_BIN=/tmp/crono-export):
TestContractDates 20/20 PASS (5 subcommands × 4 subtests)
TestContractFormats 15 PASS / 15 SKIP (5 × {3 parse PASS + 3 data-path SKIP})
Refs: QUA-19.
Co-authored-by: Paperclip <noreply@paperclip.ing>
0 commit comments