用了好幾年的工具,還是記一下,可以將xmind8格式的測(cè)試用例方便快捷地轉(zhuǎn)為禪道、testlink導(dǎo)入格式,也可直接導(dǎo)出為csv格式,根據(jù)需要再進(jìn)行修改。
源碼url:https://github.com/zhuifengshen/xmind2testcase
(代碼倉庫界面下拉有教程)
一、安裝方式
Windows或Mac系統(tǒng)都可以使用,首先安裝python3(安裝教程可百度),安裝python后使用pip命令或pip3命令安裝xmind2testcase。
pip3 install xmind2testcase
二、版本升級(jí)
pip3 install -U xmind2testcase
三、使用方式
方法1、命令行調(diào)用
Usage:
xmind2testcase [path_to_xmind_file] [-csv] [-xml] [-json]
Example:
xmind2testcase /path/to/testcase.xmind => output testcase.csv、testcase.xml、testcase.json
xmind2testcase /path/to/testcase.xmind -csv => output testcase.csv
xmind2testcase /path/to/testcase.xmind -xml => output testcase.xml
xmind2testcase /path/to/testcase.xmind -json => output testcase.json
(推薦)方法2、界面操作
1、2種啟動(dòng)方式
1.不指定端口:xmind2testcase webtool(默認(rèn)端口5001)
2.指定端口(如9000):xmind2testcase webtool 9000
2、訪問方式
1.不指定端口:電腦瀏覽器輸入網(wǎng)址:http://127.0.0.1:5001/或http://localhost:5001/
2.有指定端口,使用指定端口訪問:http://127.0.0.1:9000/或http://localhost:9000/
界面是這樣的:
(運(yùn)行后,首頁底部有使用教程和源碼鏈接。)

首頁
xmind編寫格式:
(注意:xmind zen(xmind2020)的用例不支持轉(zhuǎn)換,得用xmind8打開另存一下再上傳轉(zhuǎn)換。)

模板
識(shí)別效果:

識(shí)別效果
禪道導(dǎo)入效果:

禪道導(dǎo)入效果