xp-testing is a library enabling end-to-end tests for Crossplane providers, based on
kubernetes-sigs/e2e-framework.
This testing framework helps to set up test suites, by handling the deployments of crossplane and providers & ensures providers are loaded into the cluster & helpers to speedup test development.
pkg/resourceshelps with handling of importing and deleting of resources while testing & an opinionated way to create Test Featurespkg/setupprovides a default cluster setup, ready to take just the most necessary information and boostrap the test suitepkg/upgradeprovides basic functionality to compose provider upgrade test featurespkg/xpconditionssupports with assertionspkg/xpenvfuncsprovide basic functions to compose a test environment
For getting started guides, installation, deployment, and administration, check latest Crossplane document.
A reference implementation of xp-testing is available in provider-argocd.
The nop_upgrade_test demonstrates the upgrade test functionality with provider-nop.
xp-testing is a community driven project and we welcome contributions. See the
Crossplane
Contributing
guidelines to get started.
For filing bugs, suggesting improvements, or requesting new features, please open an issue.
Please use the following to reach members of the community:
- Slack: Join our slack channel
- Forums: crossplane-dev
- Twitter/X: @crossplane_io
- Email: [email protected]
xp-testing is run according to the same
Governance
and Ownership
structure as the core Crossplane project.
xp-testing adheres to the same Code of
Conduct
as the core Crossplane project.
xp-testing is under the Apache 2.0 license.
Initially developed by v0lkc, mirzakopic and their team at SAP.