/qa-serverless:azure-functions-testsfrom qa-serverless
Runs Azure Functions locally with Core Tools v4 and Azurite for pre-deploy testing. Covers HTTP, queue, and timer triggers, admin-endpoint invocation, and unit tests for .NET isolated, Node v4, and Python v2 handlers.
Ships in qa-serverless. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Azure Functions Core Tools v4 (func.exe) provides a local runtime that
mirrors the Functions host on Azure. Per
learn.microsoft.com/azure/azure-functions/functions-run-local,
func start starts all triggers in the project directory and outputs the
URL of every HTTP-triggered function. Azurite emulates Blob, Queue, and
Table Storage locally so queue and timer triggers can be exercised without
a live storage account.
Nearest neighbours and how this skill differs:
aws-sam-local-testing wraps SAM Local for Lambda/API Gateway
(its references/dotnet.md covers the .NET Lambda test runner). This
skill is Azure-only and covers func start, Azurite, the .NET
isolated worker model (Microsoft.Azure.Functions.Worker), and
admin-endpoint invocation.serverless-integration-test-builder builds multi-function integration
harnesses. This skill covers the per-function local invocation workflow.func --version shows 4.x) and Azurite, then
scaffold with func init and add triggers with func new - commands in
references/local-setup.md.AzureWebJobsStorage to UseDevelopmentStorage=true in
local.settings.json so queue and timer triggers route to Azurite; keep
the file git-ignored.func start from the project root and note the
printed HTTP trigger URLs.curl; fire non-HTTP (queue/timer) triggers
through the /admin/functions/<name> endpoint - see
references/triggering-functions.md.dotnet test / pytest / npm test into CI
using the workflow in references/triggering-functions.md.local.settings.json, Azurite, and func start:
references/local-setup.md.A .NET isolated function OrderProcessor is triggered by the orders
queue. To gate it locally before deploy:
func init OrderApp --worker-runtime dotnet-isolated, then
func new --template "Azure Queue Storage Trigger" --name OrderProcessor.
In local.settings.json, set
"AzureWebJobsStorage": "UseDevelopmentStorage=true".
Run azurite --silent --location ./azurite-data in one shell and
func start in another.
Fire the trigger through the admin endpoint:
curl --request POST -H "Content-Type: application/json" \
--data '{"input":"{\"orderId\":42}"}' \
http://localhost:7071/admin/functions/OrderProcessor
The host returns HTTP 202 (Accepted) and the function logs the processed order.
Unit-test OrderProcessor.Run with a mocked FunctionContext (xUnit),
asserting the parsed order id - no host required.
Result: queue-trigger wiring is verified against Azurite and handler logic is gated in CI, with no live Azure Storage account.
| Anti-pattern | Why it fails | Fix |
|---|---|---|
| Skip Azurite for queue/timer triggers | Queue and storage triggers require AzureWebJobsStorage; without it func start errors | Start Azurite and set "AzureWebJobsStorage": "UseDevelopmentStorage=true" in local.settings.json |
| Use in-process model for new projects | Support for in-process model ends 2026-11-10 per learn.microsoft.com/azure/azure-functions/dotnet-isolated-in-process-differences | Use --worker-runtime dotnet-isolated |
| Hard-code connection strings in code | Secrets leak to source control | Use local.settings.json Values array; it is git-ignored by default |
Call admin endpoint without Content-Type: application/json | Host rejects the request | Always include Content-Type: application/json header and {"input":"..."} body |
Commit local.settings.json | Contains secrets | Verify .gitignore excludes it; use func settings to sync with Azure app settings |
Use func host start for Core Tools v4 | Command removed in v4; it was v1.x syntax per Core Tools docs | Use func start |
func start. Test with connection strings locally; verify RBAC
in a staging environment.serverless-integration-test-builder (its cold-start budget reference).func start:
learn.microsoft.com/azure/azure-functions/functions-run-localaws-sam-local-testing,
serverless-integration-test-builder (its cold-start budget reference),
cloudflare-workers-miniflare,
serverless-integration-test-builderWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
azure-functions, local-testing, azurite, func-start, serverless-testing
npx claudepluginhub testland/qa --plugin qa-serverless4 skills in this plugin
/aws-sam-local-testingUse when AWS Lambda functions with API Gateway need testing locally: sam local invoke with event payloads, start-api for a local API Gateway, start-lambda for SDK clients and generate-event, plus .NET Lambda handler tests with Amazon.Lambda.TestUtilities./cloudflare-workers-miniflareUse when Cloudflare Workers code needs tests locally: Miniflare 3 (workerd-backed), wrangler dev, emulated KV, Durable Objects, R2 and D1 bindings, and in-process tests with Vitest and @cloudflare/vitest-pool-workers./serverless-integration-test-builderUse when a serverless project (SAM, serverless.yml, Wrangler, Vercel or Netlify functions) has no integration tests yet. Inventories functions and event sources, picks a local emulator per function, generates test events, asserts cold-start and timeout budgets, and emits the tests and CI config.2 plugins ship this exact skill · first indexed Nov 12, 2026
Other plugins' skills for the same job