You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
KUBEBUILDER_ASSETS="$(shell $(ENVTEST) use $(ENVTEST_K8S_VERSION) --bin-dir $(LOCALBIN) -p path)" go test ./... --ginkgo.label-filter=unit $(TEST_ARGS)
86
+
83
87
.PHONY: test-cover
84
88
test-cover: ## Run unit and integration tests and generate coverage report
Copy file name to clipboardExpand all lines: README.md
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -102,6 +102,22 @@ Because Proxmox-VE does not provide LBaaS solution, CAPPX does not follow the [t
102
102
103
103
ProxmoxMachine controller follows the [typical infra-machine logic](https://cluster-api.sigs.k8s.io/developer/providers/machine-infrastructure.html#behavior). To bootstrap your machine, CAPPX supports only `cloud-config` type bootstrap data secret. CAPPX is mainly tested with [KubeadmControlPlane](https://github.com/kubernetes-sigs/cluster-api/tree/main/controlplane/kubeadm) and [KubeadmBootstrap](https://github.com/kubernetes-sigs/cluster-api/tree/main/bootstrap/kubeadm).
104
104
105
+
## Development
106
+
107
+
### Testing
108
+
#### Unit Testing
109
+
```
110
+
make unit-test
111
+
```
112
+
#### Unit and Integration Testing
113
+
```
114
+
export PROXMOX_URL=https://X.X.X.X:8006/api2/json
115
+
export PROXMOX_PASSWORD=password
116
+
export PROXMOX_USER=user@pam
117
+
118
+
make test
119
+
```
120
+
105
121
## Contributing
106
122
107
123
Are you interested in contributing to cluster-api-provider-proxmox? Do not hesitate to open GitHub issues.
0 commit comments