{"id":17284662,"url":"https://github.com/exu/testkube-executor-k6","last_synced_at":"2025-03-26T16:26:00.536Z","repository":{"id":141117986,"uuid":"456927905","full_name":"exu/testkube-executor-k6","owner":"exu","description":"Testkube executor for K6 ","archived":false,"fork":false,"pushed_at":"2022-02-08T12:43:27.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-31T21:07:01.559Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/exu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-02-08T12:43:26.000Z","updated_at":"2022-02-08T12:43:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"3762c3cb-6ad0-4720-abfe-4ab066ab9b2c","html_url":"https://github.com/exu/testkube-executor-k6","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":"kubeshop/testkube-executor-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exu%2Ftestkube-executor-k6","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exu%2Ftestkube-executor-k6/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exu%2Ftestkube-executor-k6/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exu%2Ftestkube-executor-k6/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/exu","download_url":"https://codeload.github.com/exu/testkube-executor-k6/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245691048,"owners_count":20656694,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-15T09:54:40.328Z","updated_at":"2025-03-26T16:26:00.508Z","avatar_url":"https://github.com/exu.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"![TestKube Logo](https://raw.githubusercontent.com/kubeshop/testkube/main/assets/logo-dark-text-full.png)\n\n# Welcome to TestKube Template Executor\n\nTestKube Template Executor is a test executor skeleton for [TestKube](https://testkube.io).  \nYou can use it as basic building blocks for creating a new executor.\n\n# What is an Executor?\n\nExecutor is nothing more than a program wrapped into Docker container which gets JSON (testube.Execution) OpenAPI based document as an input and returns a stream of JSON output lines (testkube.ExecutorOutput), where each output line is simply wrapped in this JSON, similar to the structured logging idea. \n\n\n# Issues and enchancements \n\nPlease follow the main [TestKube repository](https://github.com/kubeshop/testkube) for reporting any [issues](https://github.com/kubeshop/testkube/issues) or [discussions](https://github.com/kubeshop/testkube/discussions)\n\n## Implemention in several steps:\n\n1. Create new repo on top of this template \n2. Change `go.mod` file with your path (just replace `github.com/kubeshop/testkube-executor-template` project-wise with your package path) \n3. Implement your own Runner on top of [runner interface](https://github.com/kubeshop/testkube/blob/main/pkg/runner/interface.go\n4. Change Dockerfile - use base image of whatever test framework/library you want to use\n5. Build and push dockerfile to some repository\n6. Register Executor Custom Resource in your cluster \n\n```yaml\napiVersion: executor.testkube.io/v1\nkind: Executor\nmetadata:\n  name: postman-executor\n  namespace: testkube\nspec:\n  executor_type: job\n  image: kubeshop/testkube-template-executor:0.0.1\n  types:\n  - example/test\n```\n\n\n## Architecture\n\nThis Executor template offers you basic building blocks to write a new executor based on TestKube \nlibraries written in Go programming language, but you're not limited only to Go, you can \nwrite in any other programming language like Rust, Javascript, Java or Clojure.\n\nThe only thing you'll need to do is to follow the OpenAPI spec for input `testkube.Execution` \n(passed as first argument in JSON form) and all output should be JSON lines \nwith `testkube.ExecutorOutput` spec.  \nYou should also have a final `ExecutorOutput` with `ExecutionResult` attached somewhere after successful (or failed) test execution.\n\nResources: \n- [OpenAPI spec details](https://kubeshop.github.io/testkube/openapi/)\n- [Spec in YAML file](https://raw.githubusercontent.com/kubeshop/testkube/main/api/v1/testkube.yaml)\n\nGo based resources for input and output objects:\n- input: [`testkube.Execution`](https://github.com/kubeshop/testkube/blob/main/pkg/api/v1/testkube/model_execution.go)\n- output line: [`testkube.ExecutorOutput`](https://github.com/kubeshop/testkube/blob/main/pkg/api/v1/testkube/model_executor_output.go)\n\n\n## Examples\n\n- This template repo, which is the simplest one\n- [Postman executor](https://github.com/kubeshop/testkube-executor-postman)\n- [Cypress executor](https://github.com/kubeshop/testkube-executor-cypress)\n- [Curl executor](https://github.com/kubeshop/testkube-executor-curl)\n\n\n# Testkube \n\nFor more info go to [main testkube repo](https://github.com/kubeshop/testkube)\n\n![Release](https://img.shields.io/github/v/release/kubeshop/testkube) [![Releases](https://img.shields.io/github/downloads/kubeshop/testkube/total.svg)](https://github.com/kubeshop/testkube/tags?label=Downloads) ![Go version](https://img.shields.io/github/go-mod/go-version/kubeshop/testkube)\n\n![Docker builds](https://img.shields.io/docker/automated/kubeshop/testkube-api-server) ![Code build](https://img.shields.io/github/workflow/status/kubeshop/testkube/Code%20build%20and%20checks) ![Release date](https://img.shields.io/github/release-date/kubeshop/testkube)\n\n![Twitter](https://img.shields.io/twitter/follow/thekubeshop?style=social) ![Discord](https://img.shields.io/discord/884464549347074049)\n #### [Documentation](https://kubeshop.github.io/testkube) | [Discord](https://discord.gg/hfq44wtR6Q) ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexu%2Ftestkube-executor-k6","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fexu%2Ftestkube-executor-k6","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexu%2Ftestkube-executor-k6/lists"}