This executor was moved into Testkube repository.
The Kubetest Ginkgo Executor is a test executor for testkube.
Please visit the main Testkube repository for reporting any issues or discussions.
Ginkgo v1 is unsupported by this executor.
Example testkube create test call, git by branch:
$ testkube create test --git-uri <URI TO A GOLANG REPO THAT CONTAINS GINKGO TESTS> --git-branch main --name ginkgo-test --type ginkgo/test --git-username <GIT USER> --git-token=<GIT TOKEN>
Example testkube create test call, git by commit id:
$ testkube create test --git-uri <URI TO A GOLANG REPO THAT CONTAINS GINKGO TESTS> --git-commit <GIT COMMIT ID/SHA> --name ginkgo-test --type ginkgo/test --git-username <GIT USER> --git-token=<GIT TOKEN>
Pass in/override Ginkgo parameters with -v Variables.
GinkgoTestPackage, default:""GinkgoRecursive, default:-rGinkgoParallel, default:-pGinkgoParallelProcs, default:"", usage:--procs NGinkgoCompilers, default:"", usage:--compilers NGinkgoRandomize, default:--randomize-allGinkgoRandomizeSuites, default:--randomize-suitesGinkgoLabelFilter, default:"", usage:--label-filter QUERYGinkgoFocusFilter, default:"", usage:--focus REGEXPGinkgoSkipFilter, default:"", usage:--skip REGEXPGinkgoUntilItFails, default:"", usage:--until-it-failsGinkgoRepeat, default:"", usage:--repeat NGinkgoFlakeAttempts, default:"", usage:--flake-attempts NGinkgoTimeout, default:"", usage:--timeout=durationGinkgoSkipPackage, default:"", usage:--skip-package list,of,packagesGinkgoFailFast, default:"", usage:--fail-fastGinkgoKeepGoing, default:"--keep-going", usage:--keep-goingGinkgoFailOnPending, default:"", usage:--fail-on-pendingGinkgoCover, default:"", usage:--coverGinkgoCoverProfile, default:"", usage:--coverprofile cover.profileGinkgoRace, default:"", usage:--raceGinkgoTrace, default:"--trace"GinkgoJsonReport, default:"", usage:--json-report report.jsonGinkgoJunitReport, default:"--junit-report report.xml"GinkgoTeamCityReport, default:"", usage:--teamcity-report report.teamcity
Add --args '--base-url=example.com --some-arg=value' to testkube run test command.
testkube run test ginkgo-test -f: Executes the testkube namedginkgo-testand will run (recursively, with -r flag) all Ginkgo tests within the repo.testkube run test ginkgo-test -f -v GinkgoTestPackage=e2e: Executes the testkube namedginkgo-testand overridesGinkgoTestPackageto run thee2epackage in the repo.testkube run test ginkgo-test -f -v GinkgoSkipPackage="--skip-package other,other2" -v GinkgoParallel="": Executes the testkube and skips packages namedotherandother2, as well as turns off Parallel Execution.testkube run test ginkgo-test -f -v GinkgoTestPackage=e2e ---args '--base-url=example.com': Executes the e2e test package and provies a passthrough arg namedbase-urlset toexample.com.
JUnit report is generated by default and needed for parsing into Testkube results. You can also optionally turn on Json report and/or TeamCity report.
Any reports generated will be archived by the executor and put into Testkube.
- TODO add architecture diagrams
Cypress executor implements testkube OpenAPI for executors (look at executor tag).
