goravel-test-suite

Validate Goravel entities with Testcontainers-powered PostgreSQL test suites.

16|11|Updated Jun 12, 2025
One-click install
npx skills add https://github.com/liwoo/goravel-inertia-tw-starter --skill goravel-test-suite
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: goravel-test-suite
Source: https://github.com/liwoo/goravel-inertia-tw-starter/tree/main/.claude/skills/goravel-test-suite
Command: npx skills add https://github.com/liwoo/goravel-inertia-tw-starter --skill goravel-test-suite

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Goravel test suites provide a standardized approach to validating Goravel entities by leveraging Testcontainers with PostgreSQL to reproduce production-like environments for reliable test results.

Core Features & Use Cases

  • Supports end-to-end test suites for Goravel entities using testcontainers (PostgreSQL) to ensure consistent integration environments.
  • Includes CRUD, permission, scoped-access, and integration tests wired into the project’s testing framework.
  • Provides a reusable pattern for spinning up containers, seeding data, and asserting results across features.

Quick Start

Run the test runner to execute all configured Goravel test suites against a PostgreSQL container.

Frequently Asked Questions about goravel-test-suite

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

FAQPage Schema
How do I set up end-to-end testing for Goravel entities using Testcontainers?▼

End-to-end testing for Goravel entities is set up by leveraging Testcontainers with PostgreSQL to reproduce production-like environments. This standardized approach spins up containers, seeds data, and asserts results across features for reliable integration tests.

What types of integration tests can I run for a Goravel application?▼

Integration tests for a Goravel application include comprehensive validations for CRUD operations, permission checks, scoped access control, and integration paths. These test suites are powered by Testcontainers in PostgreSQL-backed environments to ensure deterministic execution.

Does Goravel testing work with PostgreSQL containers for CI pipelines?▼

Yes, Goravel testing works with PostgreSQL containers for CI pipelines by applying Testcontainers to provide a reusable pattern for spinning up containers. This satisfies automated test orchestration and deterministic execution requirements for containerized tests.

Why use Testcontainers for Goravel test suites instead of a mock database?▼

Testcontainers is used for Goravel test suites instead of a mock database to reproduce production-like environments in PostgreSQL. This standardized approach ensures consistent integration environments and reliable test results for end-to-end scenarios.

What's the best way to automate environment setup for Goravel integration tests?▼

The best way to automate environment setup for Goravel integration tests is using Testcontainers with PostgreSQL. It provides a reusable pattern for spinning up containers and seeding data, satisfying automated test orchestration and environment setup requirements.