mapl-testing

Run and debug MAPL software tests using the pFUnit framework.

43|25|Updated Jul 3, 2019
One-click install
npx skills add https://github.com/GEOS-ESM/MAPL --skill mapl-testing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mapl-testing
Source: https://github.com/GEOS-ESM/MAPL/tree/main/.opencode/skills/mapl-testing
Command: npx skills add https://github.com/GEOS-ESM/MAPL --skill mapl-testing

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the process of running and debugging tests for the MAPL (Modeling Analysis and Prediction Layer) software, enabling faster development cycles and more reliable code.

Core Features & Use Cases

  • Two Testing Workflows: Offers both a comprehensive full test suite (ctest) and a rapid iteration workflow specifically for generic3g components.
  • Debugging Tools: Provides guidance on using test flags (-d, -f) for targeted debugging and troubleshooting common issues like library load errors and license problems.
  • Use Case: When developing new features in generic3g, use the fast workflow to quickly run tests after each code change, significantly reducing feedback time compared to the full test suite.

Quick Start

Execute the fast testing workflow for generic3g by navigating to the test directory, building, setting the library path, and running the tests.

Frequently Asked Questions about mapl-testing

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

FAQPage Schema
How do I run pFUnit tests for MAPL generic3g components quickly?

To run pFUnit tests for MAPL generic3g components quickly, navigate to the test directory, build the tests, set the library path, and execute the fast testing workflow. This approach significantly reduces feedback time compared to running the full test suite.

What is the best way to debug specific MAPL tests using ctest?

The best way to debug specific MAPL tests using ctest is to apply targeted debugging flags like `-d` and `-f`. These flags allow you to isolate individual tests and focus your troubleshooting efforts on specific components rather than the entire suite.

Why does my MAPL test build fail with library load errors?

MAPL test build failures with library load errors often occur when the library path is not set correctly before execution. You can resolve these common runtime errors by setting the appropriate environment variables to ensure the testing framework locates the required dependencies.

Can I isolate a single test case from the full MAPL ctest suite?

Yes, you can isolate a single test case from the full MAPL ctest suite. The Skill provides guidance on using specific test flags to target and run individual components, allowing you to bypass the comprehensive test suite and accelerate your debugging workflow.

When should I use the fast testing workflow instead of the full ctest suite for MAPL?

You should use the fast testing workflow instead of the full ctest suite when you are actively developing new features in generic3g. It enables rapid iteration by running targeted tests after each code change, significantly reducing feedback time compared to the comprehensive suite.