简体   繁体   English

自动运行“ MVN验证”

[英]Automatically run 'mvn verify'

I successfully setup java + cucumber test automation. 我成功设置了Java + Cucumber测试自动化。 At the moment I try to setup *.html report. 目前,我尝试设置* .html报告。 I use cucumber-maven-report( link ) The problem is: after each test execution I need to run in terminal mvn verify, to update *.html report. 我使用Cucumber-Maven-report( link )的问题是:每次测试执行后,我需要在终端mvn中运行验证,以更新* .html报告。 If there is possibilities to run mvn verify automatically after each execution? 是否有可能在每次执行后自动运行mvn verify? I use intellij. 我用的是intellij。 Thank you! 谢谢!

您可以将maven目标设置为在某些事件后自动执行 ,或创建一个复合运行/调试配置 ,该配置将由2个配置组成(运行测试, 运行maven verify )。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM