aliyun-alb-manage-test
This test skill verifies the Alibaba Cloud ALB management skill's core functionality, including SDK authentication setup, script compilation across 28 scripts, and operational flows like instance listing and health status checks. Run offline compilation validation or full integration tests against your Alibaba Cloud environment.
aliyun-alb-manage-test validates Alibaba Cloud ALB skill SDK auth, compilation, and instance operations.
AI-generated summary based on this skill's SKILL.md
Install
cinience/alicloud-skills/aliyun-alb-manage-test · repository language: Python
git clone https://github.com/cinience/alicloud-skills
cp -r alicloud-skills/tests/network/slb/aliyun-alb-manage-test ~/.claude/skills/aliyun-alb-manage-testnpx skillfed install cinience/alicloud-skills/aliyun-alb-manage-testFrequently asked questions
AI-generated answers based on this skill's SKILL.md and metadata
What does aliyun-alb-manage-test validate?
aliyun-alb-manage-test verifies the Alibaba Cloud ALB management skill's core functionality, including SDK authentication setup, script compilation across 28 scripts, and operational flows like instance listing and health status checks. You can run offline compilation validation or full integration tests against your Alibaba Cloud environment.
How do I run an alibaba cloud alb smoke test?
aliyun-alb-manage-test provides smoke test capabilities to validate ALB instance listing, health check flows, listener configuration, and server group setup. Execute the test suite to verify your Alibaba Cloud ALB environment is properly configured and responding as expected.
Does aliyun-alb-manage-test check SDK authentication?
Yes, aliyun-alb-manage-test includes validation of Alibaba Cloud ALB skill SDK authentication and script compilation as a primary focus. The test verifies credentials are correctly configured before running operational tests.
What ALB configurations does aliyun-alb-manage-test verify?
aliyun-alb-manage-test verifies ALB listener and server group configuration, instance listing, and health check status. It also validates ACL settings and ensures your load balancer management setup is operational across all core components.
Can aliyun-alb-manage-test run offline?
aliyun-alb-manage-test supports offline compilation validation to check script syntax and structure without connecting to Alibaba Cloud. For full integration testing, you can also run the complete test suite against your live environment.
SKILL.md
rendered from the published skill — quoted content, verbatim
Category: test
ALB Smoke Test
Prerequisites
- AK/SK configured via environment variables (
ALIBABACLOUD_ACCESS_KEY_ID/ALIBABACLOUD_ACCESS_KEY_SECRET). - SDK installed:
pip install alibabacloud_alb20200616 alibabacloud_tea_openapi alibabacloud_credentials. - Target skill:
skills/network/slb/aliyun-alb-manage/.
Test Steps
1. Script compilation check (offline, no credentials needed)
python tests/network/slb/aliyun-alb-manage-test/scripts/smoke_test_alb.py --compile-only
Pass criteria: exits 0, all 28 scripts compile successfully.
2. Full smoke test (requires credentials and region)
python tests/network/slb/aliyun-alb-manage-test/scripts/smoke_test_alb.py \
--region cn-hangzhou
Pass criteria:
- status=pass in JSON output.
- Output file output/aliyun-alb-manage-test/smoke-test-result.json exists.
- list_instances returns valid JSON (even if empty).
- list_server_groups returns valid JSON (even if empty).
- list_acls returns valid
(truncated - see the full file via the links below)
Read as markdown · JSON record · Browse the source repository
File tree — 3 files
tests/network/slb/aliyun-alb-manage-test/SKILL.md
tests/network/slb/aliyun-alb-manage-test/scripts/e2e_test_alb.py
tests/network/slb/aliyun-alb-manage-test/scripts/smoke_test_alb.py