Skip to content

Conversation

millsp
Copy link
Contributor

@millsp millsp commented Mar 28, 2022

  • Fixed watch mode
    • Debounce will now prevent infinite compilation loops (because of intermediary files).
  • New entries into blaze. But why blaze?
  • Matrix based testing
    • Define your _matrix.ts and dynamically run a test suite with all possibilities
    • The matrix is to automatically prepare schemas, and powers multi-provider testing
  • Automatic type testing
    • For each generated schema, the test suite is tested against the generated types
    • The type checks will let you know which generated test/schema has failed
  • Some of the perks
    • We can now write one test suite and run against many providers
    • Each test suite runs on an isolated and unique database
    • The teardown/setup/generation/types is done automatically
    • No more boiler plate, you can get started in just a few lines of code
    • Generation is as close as it can be to a real-world project

How to run:
pnpm run test:functional:code && pnpm run test:functional:types
or just
pnpm run test:functional

fixes #11573

@millsp millsp self-assigned this Mar 28, 2022
@millsp millsp changed the title chore(blaze): add new utilities test(client): new client setup Mar 28, 2022
@millsp millsp added this to the 3.12.0 milestone Mar 29, 2022
@millsp millsp marked this pull request as ready for review March 29, 2022 19:18
@millsp millsp requested review from Jolg42 and aqrln as code owners March 29, 2022 19:18
@millsp millsp requested a review from danstarns April 20, 2022 13:14
@Jolg42 Jolg42 changed the title test(client): new client setup test(client): new test client setup Apr 20, 2022
Copy link
Contributor

@danstarns danstarns left a comment

Choose a reason for hiding this comment

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

Unsure on this PR as a whole because of my lack of context however added some non blocking observations for you.

@CLAassistant
Copy link

CLAassistant commented Apr 20, 2022

CLA assistant check
All committers have signed the CLA.

@millsp millsp requested review from Jolg42 and aqrln April 25, 2022 10:01
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.

Create a test factory for newer and cleaner tests

5 participants