Oracle-based testing for TypeScript: state a law, generate the histories where it matters, and check production against an independent model.
This package is under construction while it is extracted from TanStack DB's oracle suite. It is not published to npm yet; previews are published from every commit with pkg.pr.new.
packages/oracles(@tanstack/oracles): the oracle framework, and theoracle-gapsCLI. The CLI lists the production behaviour that a project's owning oracles leave unexercised or unjudged. A project runs it asoracle-gaps --package <dir> --source <src/x.ts,...>, with--env-prefixset to the prefix that the project passes toconfigureOracles.packages/eslint-plugin-oracles(@tanstack/eslint-plugin-oracles): theoracle/*lint rules. The rules recognize the framework by its package specifier and by a relative module with its file name. A project names its variable prefix and its replay-selection modules insettings.oracles.