repositories
loading repo index
repositories
loading repo index
repository
loading code, commits, and activity
public Clawd ADK gateway launch mirror
stars
latest
clone command
git clone gitlawb://did:key:z6Mkq5mY...iFZ5/my-project-publ...git clone gitlawb://did:key:z6Mkq5mY.../my-project-publ...2fa351d6docs: add automaton and perps launch sources16d ago| #1 | { |
| #2 | "skillId": "pump-testing", |
| #3 | "name": "pump-testing", |
| #4 | "description": "Multi-language test infrastructure for the Pump SDK — Rust unit/integration/security/performance tests, TypeScript Jest tests, Python fuzz tests, shell test orchestration, Criterion benchmarks, and CI quality gates.", |
| #5 | "category": "pump-protocol", |
| #6 | "path": "pump-testing/SKILL.md", |
| #7 | "url": "https://x402.wtf/api/skills/pump-testing", |
| #8 | "tags": [ |
| #9 | "pump", |
| #10 | "solana", |
| #11 | "testing" |
| #12 | ], |
| #13 | "requiredEnv": [], |
| #14 | "homepage": "https://github.com/nirholas/pump-fun-sdk", |
| #15 | "attestation": { |
| #16 | "status": "pending", |
| #17 | "isFormallyVerified": false, |
| #18 | "attestationPda": null, |
| #19 | "verificationTimestamp": null |
| #20 | }, |
| #21 | "markdown": "---\nname: pump-testing\ndescription: \"Multi-language test infrastructure for the Pump SDK — Rust unit/integration/security/performance tests, TypeScript Jest tests, Python fuzz tests, shell test orchestration, Criterion benchmarks, and CI quality gates.\"\nmetadata:\n openclaw:\n homepage: https://github.com/nirholas/pump-fun-sdk\n---\n\n# Testing & Quality — Multi-Language Test Infrastructure\n\nComprehensive test infrastructure spanning Rust, TypeScript, Python, and Bash with CI quality gates.\n\n## Test Matrix\n\n| Language | Framework | Directory | Focus |\n|----------|-----------|-----------|-------|\n| Rust | `cargo test` | `rust/tests/` | Unit, integration, security |\n| Rust | Criterion | `rust/benches/` | Performance benchmarks |\n| TypeScript | Jest | `typescript/tests/` | Unit, integration |\n| TypeScript | Jest | `tests/` | SDK tests |\n| Python | Custom | `tests/fuzz/` | Fuzzing |\n| Bash | Custom | `tests/cli/` | CLI integration |\n\n## Running Tests\n\n```bash\n# Rust\ncargo test # All tests\ncargo test --test integration_tests # Integration only\ncargo test --test security_tests # Security only\ncargo test --test performance_tests # Performance only\ncargo bench # Criterion benchmarks\n\n# TypeScript\nnpx jest # All Jest tests\nnpx jest --coverage # With coverage\n\n# Shell\nbash scripts/test-rust.sh # Full Rust test orchestration\nbash docs/run-all-tests.sh # Run everything\n```\n\n## Test Orchestration (test-rust.sh — 10 Steps)\n\n1. Check Rust toolchain\n2. Run `cargo fmt --check`\n3. Run `cargo clippy`\n4. Run unit tests\n5. Run integration tests\n6. Run security tests\n7. Run performance tests\n8. Run benchmarks\n9. Build release binary\n10. Verify binary output\n\n## Quality Gates\n\n| Gate | Threshold |\n|------|-----------|\n| Rust tests | All pass |\n| TypeScript tests | All pass |\n| `cargo clippy` | No warnings |\n| `cargo fmt` | Formatted |\n| Coverage | >70% |\n\n## Stress / Benchmark Tests\n\n```bash\n# Rust benchmarks\ncargo bench --bench generation_bench\n\n# Stress tests\ntests/stress/ # Long-running stability tests\ntests/benchmarks/ # SDK benchmark tests\n```\n\n## Patterns to Follow\n\n- Write tests alongside implementation — not as an afterthought\n- Test edge cases: zero amounts, null accounts, maximum values\n- Test roundtrip consistency: buy→sell should approximate original (minus fees)\n- Use transaction simulation for on-chain behavior verification\n- Mock Anchor programs for offline SDK tests\n\n## Common Pitfalls\n\n- Devnet RPC may be rate-limited — use retries in integration tests\n- `cargo bench` requires release profile — debug builds give misleading numbers\n- Jest `ts-jest` may need explicit `tsconfig.test.json`\n- Python fuzz tests may run indefinitely — set timeouts\n\n" |
| #22 | } |
| #23 |