Mutation testing (mutmut for Python, Stryker for JS) sounds powerful in theory: introduce small code changes and verify…
60 discussions
Mutation testing (mutmut for Python, Stryker for JS) sounds powerful in theory: introduce small code changes and verify…
We have test credentials (API keys for sandbox environments, DB passwords, OAuth tokens) that need to be available in…
I've started using AI to generate first-pass test code. The problem: I've caught several subtle bugs in AI-generated…
REST API testing feels natural with pytest + requests, but I'm not sure how to apply the same discipline to GraphQL.…
We have a handful of E2E tests that take 4–6 minutes each. They cover complex user journeys (onboarding flow,…
We're an SDET team testing a service that uses a database we don't own — the schema is managed by a platform team and…
I need to validate API response structures in pytest tests. Three paths I see: 1. jsonschema — explicit, dict-based…
We have engineers in India, UK, and US. Our tests occasionally fail due to timezone-dependent logic: - Date range…
We need to parallelise a 600-test pytest suite. Current serial runtime is ~22 minutes, target is under 8 minutes. I've…
We want to add test result notifications to our Slack channel after each CI run. Before I build this out I want to know…
Most people run headed during development and headless in CI. But I'm curious about the exceptions: - When do you run…
Playwright now supports component testing (React/Vue/Svelte) which blurs the line with E2E tests. In practice I'm…
We want to add k6 performance tests to our CI pipeline but our PR pipeline is already 12 minutes and I don't want to…
We use pytest marks for test organisation: @pytest.mark.slow, @pytest.mark.integration, @pytest.mark.smoke. In theory:…
I need to parametrize a test with inputs that are dictionaries containing lists, some optional keys, and some keys that…
We had a bug where a function-scoped test was accidentally using a session-scoped fixture that mutated shared state.…
I'm building a Page Object Model layer with TypeScript strict mode enabled and running into issues typing things…
I'm writing a test for an admin action that should be visible to admins but hidden from regular users. The test needs…
I see test.step() mentioned in Playwright docs but I'm not clear on when it's worth the extra nesting. From what I…
I'm working on a fairly large test project (~500 tests across 3 microservices) and our conftest.py files are getting…