Skip to content
TanStackPublic

About

TanStack Oracles

Resources

Stars

5 stars

Watchers

0 watching

Forks

Repository files navigation

TanStack Oracles

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

  • packages/oracles (@tanstack/oracles): the oracle framework, and the oracle-gaps CLI. The CLI lists the production behaviour that a project's owning oracles leave unexercised or unjudged. A project runs it as oracle-gaps --package <dir> --source <src/x.ts,...>, with --env-prefix set to the prefix that the project passes to configureOracles.
  • packages/eslint-plugin-oracles (@tanstack/eslint-plugin-oracles): the oracle/* 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 in settings.oracles.

About

TanStack Oracles

Resources

Stars

5 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages