Skip to main content
Glama

dhis2_android_setup_testing

Configure testing frameworks and generate test patterns for DHIS2 Android applications. Set up unit, integration, and UI tests with mock strategies for API responses and database operations.

Instructions

Configure testing framework and generate test patterns for DHIS2 Android app

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
testingFrameworksYesTesting frameworks to include
testTypesYesTypes of tests to generate
mockStrategiesNo
coverageNo

Implementation Reference

  • Main dispatcher handler for the 'dhis2_android_setup_testing' tool. Extracts arguments, calls the generator function, and returns formatted markdown response.
    case 'dhis2_android_setup_testing': const testingArgs = args as any; const testingConfig = generateAndroidTestingConfiguration(testingArgs); return { content: [ { type: 'text', text: testingConfig, }, ], };
  • Core handler logic that generates the DHIS2 Android testing configuration markdown template based on provided arguments like testingFrameworks and testTypes.
    export function generateAndroidTestingConfiguration(args: any): string { return `# DHIS2 Android Testing Configuration Testing frameworks: ${args.testingFrameworks.join(', ')} Test types: ${args.testTypes.join(', ')} ## Implementation details for testing setup... `; } export function generateAndroidUIConfiguration(args: any): string {
  • Tool permission registration: requires 'canUseMobileFeatures' permission to access this development tool.
    ['dhis2_android_setup_testing', 'canUseMobileFeatures'],

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Dradebo/dhis2-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server