Skip to main content
Glama
test_cli_end_to_end.py661 B
"""End-to-end tests for the CLI.""" import os import subprocess def test_cli_end_to_end(): """Tests that the CLI can generate PUML files from a domain JSON.""" outdir = "./test_out" subprocess.run([ "python", "-m", "cli.main", "--mode", "domain_json", "--input", "examples/ecommerce_domain.json", "--class", "--sequence", "--outdir", outdir, ]) assert os.path.exists(os.path.join(outdir, "class_diagram.puml")) assert os.path.exists(os.path.join(outdir, "sequence_diagram.puml")) assert os.path.exists(os.path.join(outdir, "uml_bundle.puml"))

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/Cool-Coder174/UML-MCP'

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