Testing Kamelets - Verify event sources and sinks with YAKS
summary
YAKS runs behavior-driven feature files as Kubernetes Test CRs and translates them into Cucumber+Citrus Java jobs, so a single YAML feature becomes an on-cluster test via YAKS run. The demo wires a Slack source Kamelet to a custom mail sync Kamelet, creates a Kubernetes secret for the Slack token, spins an in-memory Citrus mail server exposed as a Service, posts a Slack message via HTTP, and verifies the mail payload; tests show both green success and a deliberate JSON-content failure.
AI-written summary · about
chapters (11)
- 0:00Introduction to testing
- 0:48Overview of camellets
- 3:56Using camellets
- 7:38Introducing yaks framework
- 10:52Yaks test structure
- 13:38Running tests with yaks
- 15:22Demo: Slack camellet
- 18:26Testing integrations
- 25:48Testing mail sink
- 32:55Complex test scenarios
- 36:40Q&A and custom steps
related talks
30mBehavior driven integration with Cucumber and Citrus
50mContinuous API Mocking and Testing with Microcks, Keptn, and Testkube
16mWhy Kubernetes Applications Require a New Approach to Testing using Testkube
32mUsing kubectl to Run your End-to-End Tests
33mBehavior driven integration with Cucumber and Citrus
24mWhy Kubernetes Applications Require a New Approach to Testing using Testkube
11mLightning Talk
27mFull-Circle Testing With Cypress
