Is it possible to use spring boot with TestNG? [closed] - spring-boot

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
Most of the examples and documentation of testing Spring Boot use JUnit.
Is there an official example of testing Spring Boot with TestNG?

There is a sample project with spring boot and TestNG:
https://github.com/spring-projects/spring-boot/tree/master/spring-boot-samples/spring-boot-sample-testng
It's one of multiple sample projects provided by spring. You can refer to the Spring Test documentation here.
https://docs.spring.io/spring/docs/5.0.5.RELEASE/spring-framework-reference/testing.html
Unfortunately (for TestNG users) most of the guides and documentation available show examples with JUnit, but the integration testing utilities of spring boot should work regardless of the testing framework used

Related

How to separate Thymeleaf front-end from Spring boot project [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
I'm New to The Spring Boot. I have created Spring Boot and Thymeleaf project. I want to separate it to two project as front-end and back-end. Can someone direct me a path.
Thymeleaf is a modern server-side Java template engine, it's not supposed to work alone as a front-end project. You should consider any js framework such as Angular/React/Vue to serve as client-side and spring boot for rest api.

Is there a way to integrate java servlet faces in spring boot? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
I' writing a web app with spring boot and i want use the primefaces components in my views.
Is there a way to integrate java servlet faces in spring boot?
The valid answer to this question is: "Yes there is"

Spring Boot Actuator health returns proper but beans empty([]) [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 5 years ago.
Improve this question
Spring Boot Actuator when I hit URL health or matrices it return proper data but in case of beans URL no data found.
Sounds like you are hitting this bug in Spring Boot 1.4.4. It only happens when launching your application as a Spring Boot app in Eclipse. You can avoid the problem by launching it as a plain Java application instead.

Future of Spring-XD [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 years ago.
Improve this question
I heared rumors that Spring XD lost development drive and focus at Spring shifts towards cloud services. Since I'm considering XD (the otehr one I consider is Apache Beam, though not yet mature enough imho), I'd like to get some facts / release plan for the future of XD instead of relying on rumors.
The Spring XD homepage has an announcement at the bottom of the page:
Announcement
Building upon Spring Boot and Spring Cloud capabilities, Spring XD is actively being redesigned as Spring Cloud Data Flow - a cloud native programming and operating model for composable message-driven microservices. For more information and the reasons behind this redesign, please refer to Spring Cloud Data Flow's launch blog.
Spring XD's 1.3 GA will be the last release in the 1.x line and with this release, 1.x will be officially in maintenance mode, addressing only bug fixes.

Why using Spring DM? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
1/ did Spring DM is very used now on Enterprise Applications ? what are the benefits of this framework and why it seem like a dead technology
2/ I'm working on a Spring Application , I want to do it as an SOA and i don't know if spring DM will be useful for me.
3/ I have another question , we can integrate an open source solution ESB with Spring ? what's the best choice for ESB.
Thanks !
1) Spring DM is mostly abandoned by Spring, as well as OSGI support. See this key quote from the Spring creator in this important interview on the subject:
We have changed our views on OSGi over the years, and one of the
reasons for that is that OSGi simply cannot be made as easy to use and
as productive as we feel is consistent with Spring values.
See also SpringFramework Removes OSGi Metadata in Move to Gradle
2) and 3) try to use Spring Integration or Apache Camel, which is well integrated with Spring. Both allow to have ESB like functionality embedded in a normal WAR application, so no need for a separate ESB server.

Resources