Skip to content

Releases: two-go-testing/Two-Go

v1.1.0

Choose a tag to compare

@tugkanboz tugkanboz released this 03 Jun 11:31
9f97d55

Adds request-level conveniences and CI/BDD tooling on top of 1.0.0.

  • GraphQL helper: client.graphql(query, variables, { path }).
  • Request retry/backoff: .retry({ attempts, delay, factor, on }).
  • Cookie jar: go({ cookies: true }) carries Set-Cookie across requests.
  • Reporters: toJUnit / toJSON and a CLI --reporter junit|json [--out file].
  • BDD layer (two-go/bdd): runner-agnostic given/when/then.
  • Extended HTTP assertions are now chainable on the request builder too.

Still zero runtime dependencies, ESM, Node 18+, types included. See CHANGELOG.md.

v1.0.0

Choose a tag to compare

@tugkanboz tugkanboz released this 02 Jun 13:50

First stable release.

Everything since 0.1.0 is now considered stable: the fluent HTTP client and inline checks, the Jest-style expect(), soft assertions, polling (eventually/pollUntil), snapshots, session chaining, faker, async helpers, the ~170 function utility belt, JSON schema validate/infer, curl export and logging, OpenAPI and Postman importers, the optional AI layer (test generation, failure explanation, response review and fuzzing), and an MCP server so agents can drive two-go.

Still zero runtime dependencies, ESM, Node 18+, with TypeScript types included. See CHANGELOG.md for the full history.

v0.4.1

Choose a tag to compare

@tugkanboz tugkanboz released this 02 Jun 11:26

Patch release.

  • CI: fixed the unit-test glob so it runs on Node 18/20/22.
  • Verified Docker build + containerized test run locally.
  • No API changes since v0.4.0.

v0.4.0 - TypeScript types, CI & Docker

Choose a tag to compare

@tugkanboz tugkanboz released this 02 Jun 10:41

TypeScript support and tooling on top of the v0.3.0 feature set.

Added

  • TypeScript types: hand-checked .d.ts for the entire public API (core, assertions, ~170 utils, and every feature), wired via the types field and per-subpath exports conditions. Full editor autocomplete, still zero runtime dependencies.
  • GitHub Actions CI on Node 18/20/22.
  • Dockerfile + .dockerignore for containerized test runs.
  • prepublishOnly (test gate) and typecheck scripts.

597 unit tests + e2e self test, all green. See CHANGELOG.md for full history.

v0.3.0

Choose a tag to compare

@tugkanboz tugkanboz released this 02 Jun 10:19

Utils + Jest/HTTP assertions + API-testing differentiators