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
| Name | Required | Description | Default |
|---|---|---|---|
| folder | Yes | The full path of the current folder that the Android project sits |
Implementation Reference
- src/mcpandroidbuild/server.py:56-57 (handler)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]
- src/mcpandroidbuild/server.py:19-22 (schema)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")]
- src/mcpandroidbuild/server.py:33-37 (registration)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(), ),