After three rewrites, here's the conftest.py structure that finally works for our monorepo (4 services, ~800 tests):…
60 discussions
After three rewrites, here's the conftest.py structure that finally works for our monorepo (4 services, ~800 tests):…
I need to validate API response structures in pytest tests. Three paths I see: 1. jsonschema — explicit, dict-based…
My company is adding basic security testing requirements. Leadership wants SDETs to own it since we already own…
I'm working on a fairly large test project (~500 tests across 3 microservices) and our conftest.py files are getting…
We have test credentials (API keys for sandbox environments, DB passwords, OAuth tokens) that need to be available in…
We have two camps on our team: Camp A (shared environment): Tests run against a shared staging server. Fast to set up,…
I need to parametrize a test with inputs that are dictionaries containing lists, some optional keys, and some keys that…
We want to add accessibility testing to our suite. We have a React app with ~60 pages. Current thinking: - axe-core +…
We have a handful of E2E tests that take 4–6 minutes each. They cover complex user journeys (onboarding flow,…
Our payments API calls Stripe, our notifications API calls SendGrid, and our geolocation API calls Google Maps. All…
Most load test examples I see just report numbers (p95, p99, RPS) without failing the test definitively. I want our…
We have engineers in India, UK, and US. Our tests occasionally fail due to timezone-dependent logic: - Date range…
We want to add visual regression tests for our design system components (50+ components) and a few key pages. Tools…
We have 8 microservices. Testing strategy question: where do you draw the line between testing each service in…
We're moving off Jenkins and evaluating GitHub Actions vs GitLab CI (we're already on GitLab for source control). For…
The classic answer is 70% unit / 20% integration / 10% E2E. But I've never worked on a team that actually hits that…
Most people run headed during development and headless in CI. But I'm curious about the exceptions: - When do you run…
We have two teams: one owns a user service (Python/FastAPI), one owns a frontend (Next.js). The user service API is the…
We use pytest marks for test organisation: @pytest.mark.slow, @pytest.mark.integration, @pytest.mark.smoke. In theory:…
My new company uses Cucumber for all E2E tests. Feature files are written in Gherkin, step definitions in Java. After 2…