Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

Adding Testcontainers to the application

Pragya Keshap answered on February 15, 2023 Popularity 1/10 Helpfulness 1/10

Contents


More Related Answers

  • About Testcontainers for Java
  • Using Testcontainers
  • Test Configuration With @TestConfiguration
  • Testing data repositories with Testcontainers
  • BasicTestcontainersTest
  • testContainer with Junit
  • 21. Testcontainers
  • Testing the new configuration#

  • Adding Testcontainers to the application

    0

    These additional dependencies can be described as follows:

    org.postgresql:postgresql: A third-party library managed by Spring Boot. This is the driver to connect to a PostgreSQL database; hence, it only needs to be runtime scoped. There is nothing in our code base that must compile against it.

    org.testcontainers:postgresql: The Testcontainers library that brings in first-class support for PostgreSQL containers (which we’ll explore further in this section).

    org.testcontainers:junit-jupiter: The Testcontainers library that brings deep integration with JUnit 5 – that is, JUnit Jupiter.

    https://www.testcontainers.org/

    Popularity 1/10 Helpfulness 1/10 Language html
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on Feb 15 2023
    Pragya Keshap
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.