QTaste探索一(基于模型的测试工具)

QTaste探索

简介请看【https://github.com/qspin/qtaste】

1.启动UI界面【macOS 10.14】

第一次启动:

先复制默认环境配置,进入:

/Applications/QTaste/testbeds

复制

cp enginetest.xml /Applications/QTaste/bin/Testbeds

进入目录/Applications/QTaste/bin

执行./qtasteUI_start.sh

如果不配置的话会报错:

java.lang.RuntimeException: No testbed config file available.
	at com.qspin.qtaste.util.Environment.initializeEnvironment(Environment.java:143)
	at com.qspin.qtaste.ui.MainPanel.main(MainPanel.java:381)

启动后界面如图

在这里插入图片描述
或者复制目录下/Applications/QTaste/conf/gui.xml

然后直接执行/Applications/QTaste/bin » ./qtasteUI_start.sh

然后我发现可以直接把官网给的demo中的配置环境文件全部导入

/Applications/QTaste/demo/Testbeds

cp -r Testbeds/. /Applications/QTaste/bin/Testbeds/

还要复制一下例子中的测试用例

/Applications/QTaste/demo » cp -r TestSuites/. /Applications/QTaste/bin/TestSuites/

在这里插入图片描述

测试Web demo
在这里插入图片描述

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章