integration-tests
Write and run integration tests against a GenLayer environment.
npx skills add internet-court/internet-court-skill --skill integration-tests --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Integration Tests Run contracts against a real GenLayer environment (GLSim, Studio, or testnet) with full consensus validation. ## Running Tests ```bash # Against default network (from gltest.config.yaml) gltest tests/integration/ -v -s # Against specific network gltest tests/integration/ -v -s --network localnet gltest tests/integration/ -v -s --network studionet gltest tests/integration/ -v -s --network testnet_bradbury ``` Always use `-v -s` for visible output during development. ## Test Pattern ```python from gltest import get_contract_factory from gltest.assertions import tx_execution_succeeded def test_full_flow(): factory = get_contract_factory("MyContract") contract = factory.deploy(args=[]) # Write methods return transaction receipts tx_receipt = contract.set_data(args=["hello"]).transact() assert tx_execution_succeeded(tx_receipt) # Read methods return values directly result = contract.get_data(args=[contract.address]).call() assert result == "hello" ``` `ACCEPTED` and `FINALIZED` are transaction lifecycle states, not proof that contract execution succeeded. A transaction can be accepted and finalized with an execution error, and failed execution applies no state change
- Running Tests
- Test Pattern
- Key Differences from Direct Mode
- Write vs Read Calls
- Configuration (gltest.config.yaml)
- Test Markers
- Environments
- When to Use Integration Tests
- Common Issues
- "Transaction not found" errors
- Slow tests
- JSON serialization
- Studio rate limits (HTTP 429 / -32429)
Against default network (from gltest.config.yaml) gltest tests/integration/ -v -s Against specific network gltest tests/integration/ -v -s --network localnet gltest tests/integration/ -v -s --network studionet gltest tests/integration/ -v -s --network testnet_bradbury gltest tests/integration/test_file.py::test_specific -v -s
What does the integration-tests skill do?
Write and run integration tests against a GenLayer environment.
How do I install it?
Run `npx skills add internet-court/internet-court-skill --skill integration-tests --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From internet-court/internet-court-skill, a repository with 1,536 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.