简体   繁体   English

在测试中使用 Java + Spring + Cucumber 框架比核心 Java + Cucumber 框架有什么优势?

[英]What are the advantages of using a Java + Spring + Cucumber framework over a core Java + Cucumber framework in testing?

I've been using a core Java + Cucumber framework in testing for both Web & API testing for years;多年来,我一直在使用核心 Java + Cucumber 框架进行 Web 和 API 测试; over the years I've seen a number of people using a Spring Boot + Cucumber framework.多年来,我看到很多人使用 Spring Boot + Cucumber 框架。 I want to understand what are the major advantages of using a Spring Boot framework for an automated testing framework?我想了解将 Spring Boot 框架用于自动化测试框架的主要优势是什么? Could someone explain or point me to already written resources on this topic?有人可以解释或指出我已经写过的关于这个主题的资源吗?

Spring Boot is going to handle dependencies. Spring Boot 将处理依赖项。 It's going to bring all your test and development artifacts through boot-starters.它将通过引导启动程序带来您所有的测试和开发工件。 It's nothing to do with Spring Boot for handling test automation.与处理测试自动化的 Spring Boot 无关。

Spring frameworks has its own advantages of writing tests. Spring 框架在编写测试方面有其自身的优势。 With the help of cucumber-spring test cases can be enriched in cucumber way.借助cucumber-spring测试用例可以丰富cucumber 的方式。

Quick link to understand Spring and Cucumber - https://spring.io/blog/2013/08/04/webinar-replay-spring-with-cucumber-for-automation了解 Spring 和 Cucumber 的快速链接 - https://spring.io/blog/2013/08/04/webinar-replay-spring-with-cucumber-for-automation

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

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