block_testing

Automate Perovskite game mechanic tests using in-memory worlds and googletest.

12|Updated May 31, 2023
One-click install
npx skills add https://github.com/drey7925/perovskite --skill block-testing-drey7925
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: block_testing
Source: https://github.com/drey7925/perovskite/tree/main/.claude/skills/block_testing
Command: npx skills add https://github.com/drey7925/perovskite --skill block-testing-drey7925

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires perovskite_game_api, googletest, and includes scripts (resource) components.

What problem does it solve?

This Skill automates the testing of block behaviors in the Perovskite game engine, allowing for efficient testing of game mechanics without manual intervention.

Core Features & Use Cases

  • Automated Testing: Execute test cases for block placement, dig handlers, timers, inventories, and other game mechanics.
  • In-Memory Testing: Utilizes a thread-local in-memory world for testing without the need for a live game environment.
  • Custom Matchers: Provides custom matchers for block types, items, and inventory behaviors to facilitate test assertions.
  • Use Case: When developing a game using the Perovskite engine, use this Skill to automate the testing of new block behaviors or changes to existing mechanics.

Quick Start

Run the block_testing skill to execute tests defined in the test_support.rs file for the Perovskite game engine.

Frequently Asked Questions about block_testing

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

FAQPage Schema
How do I automate game mechanics testing in the Perovskite engine?

Automate game mechanics testing in the Perovskite engine by running the block_testing skill to simulate in-memory worlds and execute test cases for block behaviors without manual intervention.

Can I test block placement and inventory interactions without a live game environment?

Yes, you can test block placement and inventory interactions without a live game environment by utilizing the skill's thread-local in-memory world feature to simulate game mechanics.

Do I need googletest to execute Perovskite block behavior test cases?

Yes, you need googletest to execute Perovskite block behavior test cases, as the skill requires it for running tests and validating custom matchers for block types and items.

How do I assert block types and item behaviors in Perovskite test automation?

Assert block types and item behaviors in Perovskite test automation by using the custom matchers provided by the skill to validate block placement, dig handlers, and inventory interactions.

What's the best way to test new block behaviors in the Perovskite game engine?

The best way to test new block behaviors in the Perovskite game engine is running the block_testing skill to execute test cases defined in the test_support.rs file.