基于springboot构建了一版本自动化测试框架,指定被测试环境,执行测试,支持配置化

https://github.com/wenchengyao/testLJTT.git

 

使用maven打包,mvn clean install

在运行的时候,java -jar testLJTT.jar  -args

 

说明:

数据库操作使用的springboot的jdbctemplate。

测试框架使用testng,该工程是直接基于springboot的基础工程,在main方法中引入testng主函数,执行的时候,重写了三个listener,他们是IExecutionListener、IInvokedMethodListener以及TestListenerAdapter。

前端驱动框架使用selenium。

 

posted on 2019-04-08 14:22  轻歌曼舞  阅读(1498)  评论(0编辑  收藏  举报