Skip to main content
Glama

test

Execute tests for Android projects directly from Visual Studio Code. Specify the project folder path to initiate testing, streamlining development workflows.

Instructions

Run test for the Android project in the folder

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
folderYesThe full path of the current folder that the Android project sits

Implementation Reference

  • Handler logic that executes the 'test' tool by running the test.sh script with the provided folder path.
    elif name == "test": command = [os.path.join(script_dir, "test.sh"), args.folder]
  • Pydantic model defining the input schema for the 'test' tool (shared across tools).
    class Folder(BaseModel): """Parameters""" folder: Annotated[str, Field(description="The full path of the current folder that the Android project sits")]
  • Registration of the 'test' tool in the list_tools() function.
    Tool( name="test", description="Run test for the Android project in the folder", inputSchema=Folder.model_json_schema(), ),

Other Tools

Related Tools

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/ShenghaiWang/androidbuild'

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