Install
openclaw skills install quick-testQuick system test to verify OpenClaw environment. Simple command execution with output validation. Use when testing if OpenClaw is working correctly, verifying command execution, or need a simple command run. Perfect for debugging or confirming system status.
openclaw skills install quick-testSimple system test to verify OpenClaw environment. Run basic commands and validate output.
Teste de sistema simples para verificar o ambiente do OpenClaw. Rode comandos básicos e valide a saída.
# Run all tests
python3 scripts/run_tests.py
# Run specific test
python3 scripts/run_tests.py --test date
python3 scripts/run_tests.py --test files
# Test with custom command
python3 scripts/run_tests.py --command "echo 'Hello World'"
git clone https://github.com/GustavoZiaugra/quick-test-skill.git
cd quick-test-skill
python3 scripts/run_tests.py
This will:
Isso irá:
# Test date functionality
python3 scripts/run_tests.py --test date
# Test file system
python3 scripts/run_tests.py --test files
# Run custom command
python3 scripts/run_tests.py --command "pwd"
| Parameter | Description | Descrição | Default |
|---|---|---|---|
--test | Specific test to run / Teste específico para rodar | all | --test date |
--command | Custom command to execute / Comando customizado para executar | none | --command "ls -la" |
--quiet | Suppress output / Suprimir saída | false | --quiet |
✅ Quick Test Results
System Status: OK
Python: 3.12.7
Working Directory: /home/zig/.openclaw/workspace
Tests Run: 3/3 Passed
[✓] Python test
[✓] Date test
[✓] File system test
All tests passed successfully!
Confirm OpenClaw is running correctly:
python3 scripts/run_tests.py --test date --test files --test command
Run specific system commands:
python3 scripts/run_tests.py --command "pwd"
python3 scripts/run_tests.py --command "ls -la"
python3 scripts/run_tests.py --command "env | head -10"
Use Quick Test to verify system before/after:
# Before installing a skill
python3 scripts/run_tests.py
# After installing a skill
python3 scripts/run_tests.py
# Check if everything works
python3 scripts/run_tests.py
Output:
✅ Quick Test - System Verification
Environment Check:
✓ Python 3.12.7
✓ Linux Ubuntu
✓ User: zig
✓ Working Directory: /home/zig/.openclaw/workspace
Tests:
[✓] Command: `pwd` → Passed
[✓] Command: `ls -la` → Passed
[✓] Command: `date` → Passed
All tests passed!
# Run a specific command
python3 scripts/run_tests.py --command "echo 'Custom test'"
Output:
Custom Command: echo 'Custom test'
Result: ✅ Passed
Output: Custom test
Permission Denied: pwd or ls returns errors
Command Not Found: Custom command not executable
Directory Not Found: Working directory check fails
Main test runner script. Script principal de execução dos testes.
Test suite with individual test functions. Suíte de testes com funções de testes individuais.
System validation functions. Funções de validação do sistema.
Keep It Simple / Mantenha Simples
Fast Feedback / Feedback Rápido
Debugging Friendly / Amigável para Debugging
Main runner script that executes all tests and formats results. Script principal que executa todos os testes e formata os resultados.
Individual test functions for system verification. Funções de teste individuais para verificação do sistema.
System validation and environment check functions. Funções de validação e verificação de ambiente do sistema.
None! / Nenhuma!
Uses only Python standard library (sys, os, subprocess, datetime, json, pathlib). Usa apenas biblioteca padrão do Python (sys, os, subprocess, datetime, json, pathlib).
User Permissions: Requires read and execute access to directories
System Differences: Behavior may vary by OS (Linux, macOS, Windows)
If tests fail:
python3 --versionIf a custom command returns nothing or errors:
which or whereisIf Python test fails:
which python3MIT License - Use freely for personal and commercial purposes. Licença MIT - Use livremente para fins pessoais e comerciais.
Created by Gustavo (GustavoZiaugra) with OpenClaw Criado por Gustavo (GustavoZiaugra) com OpenClaw
Find this and more OpenClaw skills at ClawHub.com Encontre este e mais habilidades do OpenClaw em ClawHub.com
⭐ Star this repository if you find it useful! ⭐ Dê uma estrela neste repositório se você achar útil!
✅ Simple, fast, no dependencies / Simples, rápido, sem dependências - Works everywhere, tests everything / Funciona em qualquer lugar, testa tudo / Test everywhere