Logo video2dn
  • Сохранить видео с ютуба
  • Категории
    • Музыка
    • Кино и Анимация
    • Автомобили
    • Животные
    • Спорт
    • Путешествия
    • Игры
    • Люди и Блоги
    • Юмор
    • Развлечения
    • Новости и Политика
    • Howto и Стиль
    • Diy своими руками
    • Образование
    • Наука и Технологии
    • Некоммерческие Организации
  • О сайте

Скачать или смотреть Replacing the Default In-Memory Database of @DataJpaTest Using Testcontainers

  • Philip Riecks
  • 2020-12-26
  • 3118
Replacing the Default In-Memory Database of @DataJpaTest Using Testcontainers
spring bootspring testspring frameworktestingmockitojunit@DataJpaTestTestEntityManagertest JPAEntityManagerpersistence testssliced spring test contexttestcontainerstestcontainers postgresql@datajpatest testcontainersreplace h2 database
  • ok logo

Скачать Replacing the Default In-Memory Database of @DataJpaTest Using Testcontainers бесплатно в качестве 4к (2к / 1080p)

У нас вы можете скачать бесплатно Replacing the Default In-Memory Database of @DataJpaTest Using Testcontainers или посмотреть видео с ютуба в максимальном доступном качестве.

Для скачивания выберите вариант из формы ниже:

  • Информация по загрузке:

Cкачать музыку Replacing the Default In-Memory Database of @DataJpaTest Using Testcontainers бесплатно в формате MP3:

Если иконки загрузки не отобразились, ПОЖАЛУЙСТА, НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если у вас возникли трудности с загрузкой, пожалуйста, свяжитесь с нами по контактам, указанным в нижней части страницы.
Спасибо за использование сервиса video2dn.com

Описание к видео Replacing the Default In-Memory Database of @DataJpaTest Using Testcontainers

This is the second video of the @DataJpaTest mini-series. We'll replace the default H2 in-memory database with PostgreSQL and use Testcontainers for this purpose.

Important hint: The @DynamicPropertSource is available since Spring Boot 2.2.6 (https://rieckpil.de/howto-write-sprin...)

Part I:    • Introduction to @DataJpaTest and Pitfalls ...  
Part II:    • Replacing the Default In-Memory Database o...  
Part III:    • Test a Native Query of Your Spring Data JP...  
Part IV:    • Short And Concise Test Setup With @DataJpa...  

Source code: https://github.com/rieckpil/blog-tuto...

Content:

0:00 Overriding the default H2 in-memory database for @DataJpaTest
1:08 Introducing Testcontainers to start a local PostgreSQL inside a Docker container
3:00 Adding the required Testcontainers setup to our test
5:12 Dynamically override the JDBC URL
7:00 First successful test run with PostgreSQL

More testing related content is available on my blog: https://rieckpil.de/

» For more deep-dive into testing your Spring Boot persistence layer, consider joining the Testing Spring Boot Applications Masterclass: https://rieckpil.de/testing-spring-bo...

» Revamp your Testing Knowledge with this 14 Days Free Email Course on Testing Java Applications: https://rieckpil.de/getting-started-w...

#DataJpaTest #InMemoryDatabase #SpringBoot

Комментарии

Информация по комментариям в разработке

Похожие видео

  • О нас
  • Контакты
  • Отказ от ответственности - Disclaimer
  • Условия использования сайта - TOS
  • Политика конфиденциальности

video2dn Copyright © 2023 - 2025

Контакты для правообладателей [email protected]