英文:
How to start spring boot application for the sake of integration testing
问题
我在想。如何从单元测试中启动一个Spring Boot应用程序?我正在构建一个集成测试套件,我希望在测试中启动应用程序,以便进行集成测试。似乎应该有一种非常直接的方法来做到这一点,但我不知道如何做到。
英文:
I am wondering. How do you start a springboot application from a unit test? I am working on building an integration test suite, and I want to start the application in the test so the integration tests can run. It seems like there should be a pretty straight forward way to do this, but I don't see how to do it.
专注分享java语言的经验与见解,让所有开发者获益!
评论