Testing
BetterAuth Testing: Plugin System, Social Providers, and Session Validation
BetterAuth is a newer authentication library for TypeScript that emphasizes type safety, a plugin system, and framework agnosticism.
AI-powered testing platform. Write tests in plain English, run them everywhere.
Testing
BetterAuth is a newer authentication library for TypeScript that emphasizes type safety, a plugin system, and framework agnosticism.
Testing
Lucia Auth is a lean, framework-agnostic authentication library for TypeScript that gives you full control over session management.
Testing
Choosing an auth provider is a long-term architectural decision, and your test strategy should make switching providers feasible if your needs change.
Testing
Apollo Client is the most widely used GraphQL client for React, and testing it properly means going beyond shallow component tests.
Testing
Typesense is gaining ground as a fast, developer-friendly alternative to Algolia and Elasticsearch.
Testing
urql is a lightweight, extensible GraphQL client for React that uses an exchange-based architecture.
Testing
Elasticsearch query testing is notoriously difficult. The query DSL is complex, aggregations are stateful, and testing against a live cluster introduces flakiness. This guide covers testing strategies for Elasticsearch queries — from unit-level mock tests for query construction to Testcontainers integration tests that run against a real Elasticsearch node. The
Testing
Relay Modern is Facebook's production GraphQL client, built for performance and type safety.
Testing
Meilisearch has become a popular choice for teams that want fast, typo-tolerant search without the operational overhead of Elasticsearch.
Testing
When testing GraphQL client code, you have multiple layers where you can inject mocks: at the network level (MSW), at the schema level (graphql-tools), at the client level (Apollo MockedProvider, urql exchanges), or at the component level. Each approach has tradeoffs. This guide compares them and shows when to
Testing
Apollo Client's hook API (useQuery, useMutation, useLazyQuery, useSubscription) is how most React apps interact with GraphQL today.
Testing
Algolia InstantSearch powers search experiences for thousands of production apps, but testing it reliably is harder than it looks.