▸case-06 We need a GitHub Actions workflow step to run our gRPC end-to-end integration test suite for AuthService. The developers suggest manually starting the server binary in the background with & without waiting for the port to listen before running go test. How should the CI step be configured to reliably start the service and run tests on pull requests? | pass→pass | 22,052 | 28,802 | +31% | 1 | 1 | 0% | 2,858 | 4,545 | +59% | 0 | 0 | — |
▸case-12 We want to write an automated health check test for our gRPC service using standard gRPC health protocol. How should a test client verify whether the health status is SERVING for service name CatalogService in Go? | pass→pass | 18,420 | 20,652 | +12% | 1 | 1 | 0% | 2,242 | 3,454 | +54% | 0 | 0 | — |
▸case-01 We are setting up unit tests for the Go gRPC UserService defined in user_service.proto. A developer proposed mocking the underlying generated gRPC client interface directly with gomock so we don't need network listeners. How should we set up the test server fixture to test real gRPC serialization and status codes while keeping execution fast and self-contained? Provide the setup approach and code structure. | pass→pass | 16,282 | 26,368 | +62% | 1 | 1 | 0% | 3,064 | 4,519 | +47% | 0 | 0 | — |
▸case-02 We are testing the GetOrder endpoint of OrderService written in Go. A junior tester wrote a test that only asserts err != nil when an invalid order ID is passed. How should the error assertion be structured to verify proper gRPC status behavior according to gRPC error handling practices? Provide the test assertion pattern. | pass→pass | 18,423 | 20,756 | +13% | 1 | 1 | 0% | 2,359 | 3,643 | +54% | 0 | 0 | — |
▸case-03 A Python gRPC client test for PaymentService.ProcessPayment frequently hangs indefinitely when backend microservices are slow or unresponsive during local integration tests. What timeout configuration should be added to the gRPC unary call in grpcio to ensure test execution fails cleanly when responses take longer than 2 seconds? | pass→pass | 14,433 | 10,909 | -24% | 1 | 1 | 0% | 1,541 | 2,420 | +57% | 0 | 0 | — |
▸case-04 We are creating unit tests for InventoryService in Java using gRPC. The current team is attempting to spin up a local TCP port 9090 in every test, causing port conflict errors in parallel CI runners. What test builder pattern should be used to isolate test channels without binding real network ports? | pass→pass | 17,891 | 19,327 | +8% | 1 | 1 | 0% | 2,107 | 3,403 | +62% | 0 | 0 | — |
▸case-05 In a Go test suite for a server-streaming gRPC endpoint WatchTelemetry, tests are leaking memory because goroutines reading from stream.Recv() remain blocked when tests complete. How should the stream and client context be managed during test teardown to prevent resource leaks? | fail→fail | 21,671 | 21,962 | +1% | 1 | 1 | 0% | 2,722 | 3,292 | +21% | 0 | 0 | — |
▸case-07 We are writing a test for a bidirectional streaming gRPC RPC ChatRoom in Python. What pattern should be used to send multiple messages from the test client and verify the received response sequence without deadlocking the stream? | pass→pass | 21,422 | 17,511 | -18% | 1 | 1 | 0% | 2,871 | 3,713 | +29% | 0 | 0 | — |
▸case-08 The AuthService gRPC server requires a Bearer token in the gRPC metadata authorization header. Our test call currently returns an unauthenticated error code. How should gRPC call metadata be attached in a Go client test using the standard gRPC metadata package? | pass→pass | 14,745 | 18,863 | +28% | 1 | 1 | 0% | 1,702 | 3,099 | +82% | 0 | 0 | — |
▸case-09 In our Python gRPC test suite for AccountService, test cases share a single global gRPC channel and database state. When tests run in parallel, test_delete_account fails because test_create_account didn't finish yet. How should the test fixtures be refactored to enforce strict test independence? | fail→pass | 18,936 | 23,576 | +25% | 1 | 1 | 0% | 3,087 | 3,784 | +23% | 0 | 0 | — |
▸case-10 We want to test that SearchService.Search correctly aborts and returns a deadline exceeded status when the context deadline expires. How should the test client configure its context in Go to trigger this specific edge case reliably? | pass→pass | 19,831 | 20,033 | +1% | 1 | 1 | 0% | 2,287 | 2,945 | +29% | 0 | 0 | — |
▸case-11 A developer wrote a test for OrderProcessor that mocks every internal helper function, protobuf message struct, and gRPC client method using heavy monkey-patching. As a result, the test passes even when protobuf field numbers are misaligned with the server. How should this test be refactored according to gRPC QA best practices? | pass→pass | 23,130 | 23,832 | +3% | 1 | 1 | 0% | 2,799 | 3,964 | +42% | 0 | 0 | — |
▸case-13 We are testing client-side load balancing in a Go gRPC client configured with round-robin policy across 3 backend instances. How should our test setup verify that requests are distributed across all 3 backend instances? | pass→pass | 25,723 | 24,306 | -6% | 1 | 1 | 0% | 3,518 | 4,566 | +30% | 0 | 0 | — |
▸case-14 We need to set up an integration test for a gRPC server configured with mutual TLS (mTLS). What TLS credentials configuration must be supplied to both server and client test fixtures in Go to establish a secure connection locally using test certificates? | pass→pass | 13,622 | 26,889 | +97% | 1 | 1 | 0% | 2,715 | 4,730 | +74% | 0 | 0 | — |
▸case-15 We implemented a custom gRPC unary server interceptor in Go that validates custom headers (x-api-key). How should a dedicated unit test be structured to verify that the interceptor rejects requests missing the header before reaching the RPC handler? | fail→fail | 22,248 | 24,136 | +8% | 1 | 1 | 0% | 2,995 | 4,128 | +38% | 0 | 0 | — |
▸case-16 Our gRPC UserRegistration service accepts a CreateUserRequest proto message with email and age fields. How should our test suite structure test cases to thoroughly cover field edge cases and validation failures rather than just happy path execution? | pass→pass | 28,857 | 23,528 | -18% | 1 | 1 | 0% | 3,898 | 4,358 | +12% | 0 | 0 | — |
▸case-17 We are using grpc.aio for NotificationService in Python. A team member wrote a test using asyncio.run(), but left the channel open, causing unclosed connector warnings in pytest. How should async channels be managed in Python gRPC tests using pytest-asyncio? | pass→pass | 20,713 | 23,695 | +14% | 1 | 1 | 0% | 2,511 | 3,591 | +43% | 0 | 0 | — |
▸case-18 We are enabling gzip compression on high-volume gRPC telemetry calls. How should our Go integration test verify that client requests and server responses are actually compressed using gzip? | pass→pass | 31,011 | 27,103 | -13% | 1 | 1 | 0% | 4,410 | 4,364 | -1% | 0 | 0 | — |
▸case-19 A gRPC endpoint UploadDocument returns ResourceExhausted when payload size exceeds 4MB. How should our test setup configure maximum message size settings on both client and server test fixtures when testing 10MB document transfers in Go? | pass→pass | 15,999 | 22,204 | +39% | 1 | 1 | 0% | 2,817 | 3,811 | +35% | 0 | 0 | — |
▸case-20 We are writing automated integration tests for a REST HTTP API endpoint POST /api/v1/users specified in openapi.yaml using Jest and Supertest. How should we structure the HTTP response assertions for a 400 Bad Request response? | pass→pass | 21,221 | 23,557 | +11% | 1 | 1 | 0% | 2,831 | 3,665 | +29% | 0 | 0 | — |
▸case-21 We need to unit test an Apollo Server GraphQL query resolver for getProductDetails(id: ID!) in JavaScript. How should we mock the backend repository and execute the GraphQL query using Apollo Server's executeOperation? | pass→pass | 16,332 | 20,973 | +28% | 1 | 1 | 0% | 2,840 | 3,403 | +20% | 0 | 0 | — |
▸case-22 We are setting up integration tests for an Apache Kafka consumer service that processes payment events from topic payment-events using testcontainers-go. How should the test produce a synthetic Kafka record and verify message consumption? | pass→pass | 24,701 | 21,132 | -14% | 1 | 1 | 0% | 3,484 | 4,587 | +32% | 0 | 0 | — |