Add Kubernetes integration tests for EasyHAProxy examples
- Introduced a suite of pytest-based integration tests for Kubernetes using `kind`. - Automated local installation of dependencies (`kind`, `kubectl`, and `helm`) when missing. - Implemented fixtures for Kubernetes resource management and TLS secrets. - Added end-to-end tests for HTTP and HTTPS ingress functionality.
This commit is contained in:
parent
5767e55dea
commit
90b01b1f13
18 changed files with 2978 additions and 24 deletions
|
|
@ -56,6 +56,17 @@ packages = ["src/easymapping", "src/functions", "src/processor", "src/plugins",
|
|||
addopts = "-v -p no:warnings"
|
||||
testpaths = ["tests"]
|
||||
pythonpath = ["src"]
|
||||
markers = [
|
||||
"kubernetes: marks tests as kubernetes integration tests (deselect with '-m \"not kubernetes\"')",
|
||||
"ssl: marks tests for SSL/TLS functionality",
|
||||
"jwt: marks tests for JWT validator plugin",
|
||||
"loadbalancing: marks tests for load balancing functionality",
|
||||
"php: marks tests for PHP-FPM FastCGI plugin",
|
||||
"plugins: marks tests for combined plugin functionality",
|
||||
"security: marks tests for security features (IP whitelist, etc.)",
|
||||
"cloudflare: marks tests for Cloudflare IP restoration plugin",
|
||||
"custom_label: marks tests for custom label prefix functionality",
|
||||
]
|
||||
|
||||
[tool.ruff]
|
||||
line-length = 120
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue