Skip to main content Switch to mobile version mtkit 1.18.7 AI 全站测试工程师:计划先行生成标准 XMind 测试用例(质量门禁把关),用例资产体检修复,交互式测试咨询与问题定位指导,使用即训练、越用越成熟
pip install mtkit==1.18.7 Copy PIP instructions
Plan-first generation of standard XMind test cases (quality-gated), health checks and repair of test case assets, interactive test consulting and issue diagnosis guidance. It learns with every use and matures over time.
flowchart LR IN[Input: plan.docx + sample.xmind + backend repo + custom docs] --> READ[Read & document health check] READ --> FACTS[Code facts scan
9 languages / SQL] FACTS --> PLAN[Test case output plan
design methods + builder advice] PLAN --> AUTH{Authorization} AUTH -->|confirm| CONTRACT[Contract JSON] CONTRACT --> GATE[Quality gate
review + AI audit] GATE --> RENDER[Render XMind] RENDER --> CHECK[Validate + gap comparison] CHECK --> OUT[Delivery: XMind + defect summary + work traces] Quick Start (Zero Dependencies)
# 1. Generate XMind (pure standard library, no installation required) cd d:\mtkit mtkit gen -i examples/sample.json -o cases.xmind # 2. Validate & inspect mtkit validate -i cases.xmind mtkit info -i cases.xmind Optional dependencies (install only when used): .docx parsing pip install python-docx; .pdf parsing pip install pypdf; .xlsx parsing pip install openpyxl; direct DB access pip install pymysql.
One-Click Install (with Qoder plugin registration & optional deps)
# Option 1 (recommended, zero setup on new machines): CLI + bundled skill assets from PyPI pip install mtkit mtkit install # copies bundled skills to ~/.mtkit/plugin and registers the Qoder plugin # Option 2: run in the repo root (editable install, optional deps installed automatically) python install.py # or double-click install.bat # Option 3: provide a git URL to fetch and install automatically python install.py --git
Upgrading after a PyPI release: pip install -U mtkit && mtkit install refreshes both the CLI and the skill files (~/.mtkit/plugin). Plugin registration writes both Qoder registries (installed_plugins.json v1 + installed_plugins_v2.json). mtkit install --git
Contract format (the single input convention):
{"chapters":[{"t":"Chapter","cases":[{"t":"tc-P0-Functional: case name", "pc":["preconditions"],"steps":["steps"],"expects":["expected"],"sql":["SELECT ..."]}]}]} Database Access (Optional, Strictly Read-Only)
Four data sources in db.json (via the type field):
{"type":"cli","connect":{"cmd":"mysql -h{host} -u{user} -p{pass} {db} -N -e \"{sql}\"","host":"10.0.0.1","user":"ro","pass":"${DB_PASS}","db":"bill_db"}} {"type":"driver","driver":"pymysql","host":"10.0.0.1","user":"ro","password":"${DB_PASS}","db":"bill_db"} {"type":"http","url":"https://gw.example.com/query","token":"${DB_TOKEN}"} {"type":"file","path":"schema.json"} Only SELECT/EXPLAIN/DESC/SHOW are allowed; all write operations are rejected. Passwords use ${ENV_VAR} environment variables.
Qoder Integration (2 Steps)
Qoder plugin manager → local plugin → select d:\mtkit
Chat prompts: Generate cases: "Use mtkit to generate XMind test cases: plan xxx.docx, sample xxx.xmind, backend repo xxx"
Test consulting: "How should I test this feature?" / "The production error, help me look into it" / "Is this a bug?"
sequenceDiagram participant U as User participant A as AI (test builder) U->>A: Provide the three inputs + optional docs/db A->>U: Document health check (defects + advice, confirm item by item) A->>A: gather + facts + experience library loading A->>U: Test case output plan (design methods + builder advice) U->>A: Authorization (can add/remove/adjust) A->>A: Generate contract → quality gate → fix loop A->>U: Case adjustment suggestions (confirm item by item) A->>A: Render XMind → validate → gap comparison A->>U: Delivery (XMind / defect summary / work traces) + training Iterative Updates (Editable Install, No Reinstall Needed)
pip install --force-reinstall --no-deps -e d:\mtkit # only when needed python -m unittest # self-check Plugin side: repo file updates take effect immediately; only plugin.json version changes require a Qoder restart
Self-iteration: improvements discovered by the AI during use are written to .mtkit-work/improvements.json; with auto_improve enabled in .mtkit.json and authorization granted, the AI can optimize itself and self-verify (see skills docs)
Details: see CHANGELOG.md and skills/mtkit-gen-xmind/ (skills & conventions)
PyPI Release (Maintainer Guide)
# 1. Build python -m pip install build twine python -m build # produces dist/mtkit-
pip install mtkit # CLI + bundled skill assets (pure stdlib, installs in seconds) mtkit install # copies bundled skills to ~/.mtkit/plugin and registers the Qoder plugin # restart Qoder → / lists the mtkit plugin; /skills shows mtkit-gen-xmind # upgrade later pip install -U mtkit && mtkit install Key dates
Released: Nov 30, 2026
MIT View SPDX License List
docx pdf xlsx mysql all
testing xmind test-case ai qoder
Development Status 5 - Production/Stable
Intended Audience Developers
Operating System OS Independent
Programming Language Python :: 3
Topic Software Development :: Testing
Release files for mtkit 1.18.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
Built distribution (wheel)
Total release size: 292.2 kB
Release files / mtkit-1.18.7.tar.gz
Release files / mtkit-1.18.7-py3-none-any.whl
Security for mtkit 1.18.7
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.
Release history Release notifications | RSS feed
Nov 30, 2026 2 release files No provenance
Nov 27, 2026 2 release files No provenance
"PyPI", "Python Package Index", and the blocks logos are registered trademarks of the Python Software Foundation.
© 2026 Python Software Foundation
Deployed from a8e35ed











