AgentSkillsCN

run-tests

指导用户在SnapLogic项目中运行Robot Framework测试。当用户想要运行测试、需要了解应使用哪个make命令,或希望理解测试标签与执行选项时使用此功能。

SKILL.md
--- frontmatter
name: run-tests
description: Guides users on running Robot Framework tests in the SnapLogic project. Use when the user wants to run tests, needs to know which make command to use, or wants to understand test tags and execution options.
user-invocable: true

SnapLogic Test Execution Skill

Usage Examples

What You WantExample Prompt
Run specific testsHow do I run Oracle tests?
Run multiple testsHow do I run both Snowflake and Kafka tests?
First time setupI'm running tests for the first time, what should I do?
Understand tagsWhat tags are available for running tests?
Quick iterationI want to run tests quickly without Groundplex setup
View resultsWhere are the test results stored?
TroubleshootMy tests are failing, how do I debug?
Explain executionExplain how to run robot tests in this project

Agentic Workflow (Claude: Follow these steps in order)

Step 1: Load the Complete Guide

code
ACTION: Use the Read tool to load:
{{cookiecutter.primary_pipeline_name}}/.claude/skills/run-tests/SKILL.md

Do not proceed until you have read the complete guide.

Step 2: Understand the User's Request

Parse what the user wants:

  • Run tests for a specific system?
  • First time setup or subsequent run?
  • With or without Groundplex management?

Step 3: Provide Quick Answer First

For simple questions, give the command immediately.

Step 4: Offer More Details If Needed

Only provide additional context if asked.


Quick Command Reference

Test TypeCommand
Oraclemake robot-run-all-tests TAGS="oracle" PROJECT_SPACE_SETUP=True
PostgreSQLmake robot-run-all-tests TAGS="postgres" PROJECT_SPACE_SETUP=True
Snowflakemake robot-run-all-tests TAGS="snowflake" PROJECT_SPACE_SETUP=True
Kafkamake robot-run-all-tests TAGS="kafka" PROJECT_SPACE_SETUP=True
Multiplemake robot-run-all-tests TAGS="oracle OR postgres" PROJECT_SPACE_SETUP=True

Note: Use PROJECT_SPACE_SETUP=True for first run, omit for subsequent runs.

Invoke with: /run-tests