integration-tests

Execute smart contract integration tests against GenLayer environments using gltest CLI.

10|6|Updated Jan 29, 2026
One-click install
npx skills add https://github.com/genlayerlabs/skills --skill integration-tests-genlayerlabs
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: integration-tests
Source: https://github.com/genlayerlabs/skills/tree/main/plugins/genlayer-dev/skills/integration-tests
Command: npx skills add https://github.com/genlayerlabs/skills --skill integration-tests-genlayerlabs

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill allows developers to test their smart contracts against a live GenLayer environment, ensuring full consensus validation and real-world compatibility before deployment.

Core Features & Use Cases

  • Full Consensus Testing: Run tests against actual GenLayer networks (GLSim, Studio, testnet) with leader and validator agreement.
  • Real-World Interaction: Test contract interactions with external services like web requests and LLM calls.
  • Use Case: Validate that your new DeFi contract correctly handles state changes and reads data across multiple validators in a testnet environment.

Quick Start

Run integration tests against the default GenLayer network using the command gltest tests/integration/ -v -s.

Frequently Asked Questions about integration-tests

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I test smart contracts against GenLayer environments?▼

To test smart contracts against GenLayer environments, run integration tests using the gltest CLI with a configured gltest.config.yaml file to validate consensus mechanisms and real-world interactions before deployment.

What is smart contract integration testing on GenLayer consensus?▼

Smart contract integration testing on GenLayer consensus executes your contracts against live networks like GLSim, Studio, or testnet to ensure full leader and validator agreement and real-world compatibility.

Can I test external web requests and LLM calls in GenLayer integration tests?▼

Yes, you can test real-world interactions like external web requests and LLM calls within GenLayer integration tests to validate how your smart contracts handle external services across multiple validators.

Do I need gltest CLI and gltest.config.yaml for GenLayer network testing?▼

Yes, you need the gltest CLI installed and a configured gltest.config.yaml file defining your network settings to execute integration tests against GenLayer environments.

What's the best way to run pre-deployment tests on GenLayer testnet?▼

The best way to run pre-deployment tests on GenLayer testnet is executing the gltest CLI command, such as gltest tests/integration/ -v -s, to validate state changes and consensus across validators.