Skip to main content
Testkube 2.16.0 is out! Skills for AI Agents and Test Bundles, evals for AI Agents, A2A access, and much more! Read More

Testkube Examples and Guides

This section gives examples on how to create Workflows for the most common testing tools -

tip

If you're missing an example for your favorite testing tool please let us know on our Slack Channel or open an issue on our GitHub Repository.

Load & Performance Testing​

Tools for load testing, stress testing, and performance benchmarking:

End-to-End & Browser Testing​

Tools for UI testing, browser automation, and end-to-end testing:

API Testing​

Tools for testing REST APIs, SOAP services, and HTTP endpoints:

Unit & Integration Testing​

Frameworks for unit tests, integration tests, and BDD:

  • Pytest
  • Maven - Shows how to run Maven tests.
  • Gradle - Shows how to run Gradle tests.
  • NUnit - Shows how to run NUnit tests.
  • TestContainers - Shows how to configure a Workflow that uses TestContainers for container dependencies.
  • Cucumber - Simplify BDD Testing for Distributed Java Applications (external)

AI Testing​

Tools for evaluating LLMs, prompts, RAG pipelines, and AI agents. Each example exports its scores with the testkube-ai-metrics-parser, so they show up as custom metrics in Insights that you can chart across executions. These examples are about testing your own AI applications and models; to use AI to create and analyze tests in Testkube, see Testkube AI.

  • AI Testing Metrics - Explains the metrics AI evaluation tools produce, how Testkube ingests and charts them, and the tools the parser supports.
  • Promptfoo - Shows how to run a Promptfoo evaluation and collect its JSON and HTML reports.
  • DeepEval - Shows how to run a DeepEval test suite against several models in parallel and compare their scores.
  • Inspect AI - Shows how to run an Inspect AI evaluation with an accuracy quality gate.
  • Ragas - Shows how to evaluate a RAG pipeline with faithfulness and relevancy metrics.
  • LM Evaluation Harness - Shows how to run an academic benchmark (gsm8k) against an OpenAI model.
  • Harbor - Shows how to evaluate an AI agent on Harbor tasks with a mean reward quality gate.
  • TestContainers with Ollama - Shows how to test a local model served by Ollama, using TestContainers.

Infrastructure Testing​

Tools for validating Kubernetes clusters and infrastructure:

  • Testkube Marketplace - Browse and deploy reusable, community-driven TestWorkflows for validating infrastructure components like databases, message brokers, networking, and more.
  • Chainsaw - Shows how to run Chainsaw tests for Kubernetes operators and controllers.
  • Validating Kubernetes Clusters - Shows how to run kubectl commands from within Test Workflows for cluster operations and validation.
  • kube-burner - Shows how to run kube-burner to load test a Kubernetes cluster and fail on pod latency thresholds.
  • Testing Hardware Components - Shows how to test hardware infrastructure in your Kubernetes Cluster (external).

Environment Provisioning​

Workflows that provision a temporary test environment, run other Workflows against it and tear it down again:

  • Provisioning Test Environments - Describes the pattern, its limits and the cleanup of orphaned environments.
  • Helm - Shows how to install a Helm chart into a temporary namespace.
  • ArgoCD - Shows how to create an ArgoCD Application that deploys into a temporary namespace.
  • vCluster - Shows how to create a virtual cluster in a temporary namespace and install a Helm chart into it.

Tutorials​