home.social

#testcontainers — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #testcontainers, aggregated by home.social.

fetched live
  1. #testcontainers for #dotnet 4.14.0 is out 🎉 You can now pick a custom MSSQL database instead of just "master" (a top dev request), plus a new Mailpit module for SMTP testing. Also patches the recent SSH.NET vulnerability. 📦 github.com/testcontainers/test

  2. #testcontainers for #dotnet 4.14.0 is out 🎉 You can now pick a custom MSSQL database instead of just "master" (a top dev request), plus a new Mailpit module for SMTP testing. Also patches the recent SSH.NET vulnerability. 📦 github.com/testcontainers/test

  3. Our next #JCON2026 session is live: 'Scaling Integration Tests: Parallel #SpringTests with #JUnit & #Testcontainers' with Marvin Rensing

    Integration #tests can quickly become slow, especially when every test starts its own #SpringBoot context…

    Grab your coffee and hit play: youtu.be/INMXomtB1Ws

  4. Our next #JCON2026 session is live: 'Scaling Integration Tests: Parallel #SpringTests with #JUnit & #Testcontainers' with Marvin Rensing

    Integration #tests can quickly become slow, especially when every test starts its own #SpringBoot context…

    Grab your coffee and hit play: youtu.be/INMXomtB1Ws

  5. I wonder why the Go TestContainers documentation doesn't have a section about what the preferred way of modifying an http.Client/http.Transport to connect to the container instead of whatever "example.com" URLs the tests require for.

    The idiomatic solution is to add a custom DialContext function to the used client Transport that infers which container the address should actually go to.

    Example: git.sr.ht/~mariusor/fedbox/tre

    #go #golang #testcontainers

  6. I wonder why the Go TestContainers documentation doesn't have a section about what the preferred way of modifying an http.Client/http.Transport to connect to the container instead of whatever "example.com" URLs the tests require for.

    The idiomatic solution is to add a custom DialContext function to the used client Transport that infers which container the address should actually go to.

    Example: git.sr.ht/~mariusor/fedbox/tre

    #go #golang #testcontainers

  7. Testcontainers в CI: почему тесты зелёные локально и красные на пайплайне

    Локально Testcontainers запускается за секунды, тесты стабильно зелёные, а в CI тот же набор начинает падать в трёх запусках из ста и каждый раз по новой причине. В статье разберём пять типовых источников такого поведения — от плавающих версий образов и неправильного ожидания готовности до конфликтов портов и нехватки памяти — и покажем, как сделать интеграционные тесты воспроизводимыми на пайплайне.

    habr.com/ru/companies/otus/art

    #Testcontainers #интеграционное_тестирование #Docker #Java #нестабильные_тесты #контейнеры #GitLab_CI #параллельные_тесты #управление_ресурсами

  8. In-memory база врёт: 5 расхождений с продовой БД

    Тест на List.AsQueryable() зелёный, а на проде всплывают LINQ-трансляция, null, collation, unique index и два воркера, забравшие один платёж. Разбираю, где in-memory тесты помогают, а где начинают врать.

    habr.com/ru/articles/1056684/

    #inmemory_database #EF_InMemory #Testcontainers #интеграционные_тесты #unitтесты #MongoDB #EF_Core #NET #C# #базы_данных

  9. 📣 Happy to announce testcontainers-git 0.16.0 🥳

    🧰 Maintenance
    - Rename the package name and Maven group id to `dev.parsick.testcontainers.gitserver` (rewrite receipt exists)
    - Add Gitea 1.26.2 (#315)
    - Add Forgejo 15.0.2 (#313)

    I also deploy POMs with the old groupId for the relocation.

    📦️ Dependencies
    Many dependency updates

    Full release notes:
    github.com/sparsick/testcontai

    #java #testcontainers #git #gitea #forgejo #opensource #testing

  10. 📣 Happy to announce testcontainers-git 0.16.0 🥳

    🧰 Maintenance
    - Rename the package name and Maven group id to `dev.parsick.testcontainers.gitserver` (rewrite receipt exists)
    - Add Gitea 1.26.2 (#315)
    - Add Forgejo 15.0.2 (#313)

    I also deploy POMs with the old groupId for the relocation.

    📦️ Dependencies
    Many dependency updates

    Full release notes:
    github.com/sparsick/testcontai

    #java #testcontainers #git #gitea #forgejo #opensource #testing

  11. Интеграционные тесты в Java: ускоряем Testcontainers через tmpfs и прединициализацию

    Testcontainers - Java-библиотека, которая управляет Docker-контейнерами прямо из тестового кода. Во время выполнения тестов она запускает нужный контейнер - базу данных, брокер сообщений, поисковый движок и т.д. - а по завершении останавливает и удаляет контейнер. Зачем это нужно? Для интеграционных тестов на реальном ПО, а не на in-memory эмуляторах. Тест работает с тем же движком, что и в продакшене. В этой статье я разберу, как можно оптимизировать работу с Testcontainers: tmpfs - перенос файлов в оперативную память. Прединициализация - перенос тяжёлой инициализацию в отдельный Docker-образ. Если по первому пункту, в интернете есть статьи, то по второму - практически не встречаются, и выбранный мною подход нигде не описан. В качестве примера буду использовать контейнер с MySQL, хотя все написаное справедливо и для любых других сервисов.

    habr.com/ru/articles/1047412/

    #java #testcontainers #docker

  12. 🚀 Full room and a fantastic group of Java developers for the 2h Microcks workshop at DevLille 2026!

    A great session led by Sébastien Degodez (AXA) and Laurent Broudoux, exploring how to leverage Microcks and Testcontainers to confidently validate APIs and microservices.

    Thanks to everyone who joined, asked questions, and shared their experiences 🙌

    #DevLille #Microcks #Java #APITesting #Testcontainers #OpenSource

  13. 🚀 Full room and a fantastic group of Java developers for the 2h Microcks workshop at DevLille 2026!

    A great session led by Sébastien Degodez (AXA) and Laurent Broudoux, exploring how to leverage Microcks and Testcontainers to confidently validate APIs and microservices.

    Thanks to everyone who joined, asked questions, and shared their experiences 🙌

    #DevLille #Microcks #Java #APITesting #Testcontainers #OpenSource

  14. 🛠️ 12 juin à 10h00
    Fini l’incertitude : adoptez Testcontainers + Microcks pour valider vos Microservices et APIs !
    Codelab de 2 heures avec Sébastien Degodez (AXA) et Laurent Broudoux

    Une session pratique pour découvrir comment fiabiliser vos développements et automatiser la validation de vos APIs et microservices grâce à Testcontainers (Java ou .NET à vous de choisir) et Microcks.

    👉 Détails : devlille.fr/talk-page-e3de7e9a

    À très vite à Lille ! 💙

    #OpenSource #API #Testing #Testcontainers

  15. 🛠️ 12 juin à 10h00
    Fini l’incertitude : adoptez Testcontainers + Microcks pour valider vos Microservices et APIs !
    Codelab de 2 heures avec Sébastien Degodez (AXA) et Laurent Broudoux

    Une session pratique pour découvrir comment fiabiliser vos développements et automatiser la validation de vos APIs et microservices grâce à Testcontainers (Java ou .NET à vous de choisir) et Microcks.

    👉 Détails : devlille.fr/talk-page-e3de7e9a

    À très vite à Lille ! 💙

    #OpenSource #API #Testing #Testcontainers

  16. Black-box тесты на Java: функциональные тесты за секунды и в параллель и почему я остался на своих

    Я наткнулся на подход к функциональным тестам, который меня по-настоящему удивил. Тесты в нём вообще не знают, что внутри Spring: стучатся в реально поднятый сервис по HTTP, как обычный клиент, гоняются параллельно и проходят за секунды. Я разбирал это на код-ревью и сначала прифигел, а потом не стал переходить на него сам, но кое-что забрал себе. В статье сравниваю оба подхода, разбираюсь где какой уместен, и показываю три вещи, которые подсмотрел и притащил в свой Spring Сравнить подходы

    habr.com/ru/articles/1044626/

    #функциональные_тесты #интеграционные_тесты #blackbox_тесты #Spring_Boot #Testcontainers #JaCoCo #flakyтесты #покрытие_кода #Java #тестирование

  17. #testcontainers for #dotnet 4.12.0 is out 🐳 This release ships a major version bump of our forked Docker.DotNet client, bringing a bunch of improvements made over the past months. Fingers crossed it's all smooth sailing for you 🤞: github.com/testcontainers/test.

  18. #testcontainers for #dotnet 4.12.0 is out 🐳 This release ships a major version bump of our forked Docker.DotNet client, bringing a bunch of improvements made over the past months. Fingers crossed it's all smooth sailing for you 🤞: github.com/testcontainers/test.

  19. Blog - Shared Postgres Test Container with Expecto in FSharp

    I’m learning FSharp by creating a web application. I’ve cycled through lots of different ways of doing things, libraries, etc. Today I finally got my integration tests to use a single docker test contaner with the Expecto test framework. I couldn’t find a good example online of how to do it, so I’m sharing it here.

  20. Почему Python стал главным помощником Java‑команд

    Python уже не просто язык для скриптов и Data Science — в 2026 году он стал «клеем», который связывает микросервисы, тесты и CI/CD в Java‑проектах. Как получилось, что даже консервативные Java‑разработчики всё чаще пишут интеграционные тесты на pytest, запускают контейнеры с Testcontainers и рулят пайплайнами в GitHub Actions с помощью Python‑скриптов? В этой статье разбираем три реальные причины популярности Python. Если вы до сих пор считаете, что Python не для вас — возможно, это изменит ваш взгляд на инструменты.

    habr.com/ru/companies/otus/art

    #Java #Python #backendразработка #интеграционное_тестирование #микросервисы #pytest #автоматизация_тестирования #testcontainers #OpenAPI

  21. 📣 Happy to announce testcontainers-git 0.15.0 🥳

    🚀 Features
    - feat: add gitea support (#274)

    🧰 Maintenance
    - Add dependency analyzing during build (#291)
    - Enable Enforce Rules (#290)

    📦️ Dependencies
    Many dependency updates

    Full release notes: github.com/sparsick/testcontai

    #java #git #gitea #forgejo #testcontainers

  22. 📣 Happy to announce testcontainers-git 0.15.0 🥳

    🚀 Features
    - feat: add gitea support (#274)

    🧰 Maintenance
    - Add dependency analyzing during build (#291)
    - Enable Enforce Rules (#290)

    📦️ Dependencies
    Many dependency updates

    Full release notes: github.com/sparsick/testcontai

    #java #git #gitea #forgejo #testcontainers

  23. I'm a happy user of Testcontainers for quite some time.

    On my private Linux laptop I decided to switch to podmam. Starting containers works quite nice. But not with Testcontainers with python.

    Anyone got this to work?

    #podman #testcontainers #python

  24. I'm a happy user of Testcontainers for quite some time.

    On my private Linux laptop I decided to switch to podmam. Starting containers works quite nice. But not with Testcontainers with python.

    Anyone got this to work?

    #podman #testcontainers #python

  25. Did a thing to make #testing against a #redis cluster in #golang a bit easier for myself, but maybe it's useful for others, too. github.com/erkattak/tes... This is a module for #testcontainers that forms a Redis cluster and gives an API to stop/pause/restart nodes in a targeted way.

    GitHub - erkattak/testcontaine...

  26. The new #testcontainers for #dotnet release has arrived: github.com/testcontainers/test. Version 4.11 comes with new modules, bug fixes, and improvements, plus OpenSSF Scorecard analyses for extra trustworthiness. I've also got an update ready for the Docker.DotNet client, which in the next release will bring performance improvements, better resource usage, lots of fixes, and support for .NET's native HTTP handler 💪.

  27. The new #testcontainers for #dotnet release has arrived: github.com/testcontainers/test. Version 4.11 comes with new modules, bug fixes, and improvements, plus OpenSSF Scorecard analyses for extra trustworthiness. I've also got an update ready for the Docker.DotNet client, which in the next release will bring performance improvements, better resource usage, lots of fixes, and support for .NET's native HTTP handler 💪.

  28. 📣 Happy to announce testcontainers-git 0.14.0 🥳

    🚀 Features
    - Add support for Forgejo

    🧰 Maintenance
    - chore(analyze): enable modernizer analyze
    - chore(analyze): enable spotbugs analyze
    - Add spotless-maven-plugin

    📦️ Dependencies
    Many dependency updates

    Full release notes: github.com/sparsick/testcontai

    #testcontainers #git #java #oss #forgejo

  29. 📣 Happy to announce testcontainers-git 0.14.0 🥳

    🚀 Features
    - Add support for Forgejo

    🧰 Maintenance
    - chore(analyze): enable modernizer analyze
    - chore(analyze): enable spotbugs analyze
    - Add spotless-maven-plugin

    📦️ Dependencies
    Many dependency updates

    Full release notes: github.com/sparsick/testcontai

    #testcontainers #git #java #oss #forgejo

  30. Как ускорить тесты проекта в 6 раз: от 10 минут к 101 секунде

    Почти 800 тестов, 10 минут на прогон, каждый пуш — ожидание на CI. Знакомо? Рассказываю, как довёл время до 101 секунды: снижение таймаутов, параллелизм ScalaTest, shared Testcontainers и защита от регрессий. Scala, SBT, PostgreSQL, GraalVM — конкретные шаги и подводные камни.

    habr.com/ru/articles/1003592/

    #scala #scalatest #testcontainers #postgresql #тестирование #оптимизация #параллелизм #sbt #graalvm #hikaricp

  31. Excited for #JCON EUROPE 2026? See Marvin Rensing at #JCON2026 in Cologne talking about 'Scaling #Integration Tests: Parallel #Spring Tests with #JUnit & #Testcontainers'

    Integration tests can quickly become slow, especially when every …

    🎟️ 2026.europe.jcon.one/tickets
    Free for #JUG members

  32. Excited for #JCON EUROPE 2026? See Marvin Rensing at #JCON2026 in Cologne talking about 'Scaling #Integration Tests: Parallel #Spring Tests with #JUnit & #Testcontainers'

    Integration tests can quickly become slow, especially when every …

    🎟️ 2026.europe.jcon.one/tickets
    Free for #JUG members

  33. I've just released firebird-testcontainers-java 2.0.0, a library to easily start/stop and access a Firebird Docker container in a Java unit or integration test.

    For more information, see github.com/FirebirdSQL/firebir

    #Firebird #Java #JDBC #testcontainers

  34. I've just released firebird-testcontainers-java 2.0.0, a library to easily start/stop and access a Firebird Docker container in a Java unit or integration test.

    For more information, see github.com/FirebirdSQL/firebir

    #Firebird #Java #JDBC #testcontainers

  35. Still guessing why your tests are slow? With TCI on #Testcontainers, you get named containers, test stats & trace data out of the box. Alexander Bierler shows how to turn blind spots into metrics.

    Read #JAVAPRO: javapro.io/2025/10/10/supercru

    #CI #DevOps #Java #Frameworks #OpenSource

  36. Still guessing why your tests are slow? With TCI on #Testcontainers, you get named containers, test stats & trace data out of the box. Alexander Bierler shows how to turn blind spots into metrics.

    Read #JAVAPRO: javapro.io/2025/10/10/supercru

    #CI #DevOps #Java #Frameworks #OpenSource

  37. I've put together a few slides for future #testcontainers for #dotnet talks. If you're interested in discussing #testcontainers, let me know. Feedback on the slides is welcome as well: andrehofmeister.com/en/testcon.

  38. I've put together a few slides for future #testcontainers for #dotnet talks. If you're interested in discussing #testcontainers, let me know. Feedback on the slides is welcome as well: andrehofmeister.com/en/testcon.

  39. 🧪 As introduced in our Developing with Testcontainers guide, you can embed Microcks directly into your unit tests using Testcontainers.

    We now offer feature parity across all Testcontainers modules for Java, NodeJS/TypeScript, Golang, and .NET 🎉 You can even use the Google Pub/Sub emulator locally.

    Consistent mocking & testing across languages 🚀

    #opensource #Microcks #Testcontainers #APIs #CloudNative #DevTools

  40. 🧪 As introduced in our Developing with Testcontainers guide, you can embed Microcks directly into your unit tests using Testcontainers.

    We now offer feature parity across all Testcontainers modules for Java, NodeJS/TypeScript, Golang, and .NET 🎉 You can even use the Google Pub/Sub emulator locally.

    Consistent mocking & testing across languages 🚀

    #opensource #Microcks #Testcontainers #APIs #CloudNative #DevTools

  41. The docling-testcontainers module provides a ready-to-use Testcontainers integration for running a Docling Serve instance, wrapping the official container image and exposing a simple Java API.
    testcontainers.com/modules/doc

    #Docling #Java #Testcontainers

  42. Hat mich paar Brainloops gekostet, aber habe es am Ende hinbekommen. DIND mit #forgejoaction klappt jetzt. Somit laufen auch meine #testcontainers Test auf #codeberg und ich kann weiter von #github migrieren.

    Beispiel Action Run: codeberg.org/sparsick/hero-fro

    Code für den Forgejo Runner Setup:

    codeberg.org/sparsick/forgejo-

    #DIDit #unpluggedtrump

  43. Too many #Spring contexts, Docker containers, and threads? Sergei Chernov explains how context caching really works—and how bad defaults lead to OOMs and flaky tests.

    Learn how to control resource usage: javapro.io/2025/12/17/optimizi

    #SpringBoot #Testcontainers #Java #Frameworks

  44. I never expected such an amazing journey when I started working on #testcontainers for #dotnet years ago. I've met many great people and learned a lot. I'm truly grateful for all of it. I never imagined the packages would one day pass 150M+ downloads!

    Check out Testcontainers (testcontainers.com/) and test against real dependencies with confidence.

  45. Realistic test environments often turn into complex beasts. The TCI framework adds structure and control on top of #Testcontainers—without sacrificing flexibility.
    Alexander Bierler explains how.

    Read #JAVAPRO now:javapro.io/2025/10/10/supercru
    #CI #DevOps #Java #Frameworks #OpenSource

  46. A new #testcontainers for #dotnet release is available. This release supports .NET 10 and ensures compatibility with Docker Engine v29: github.com/testcontainers/test. I'm working on updating Docker.DotNet for full v29 support, so expect a new version soon /cc @docker.

    Check out the new available modules like Playwright, Grafana, or my favorite this release, Toxiproxy. It's a really interesting tool for pushing testing further: dotnet.testcontainers.org/modu.