home.social

Search

1000 results for “junit”

  1. How do we call a #test that can test two or more #implementations of an #interface with the same test code?

    They call it "Testing interface contracts" here: baeldung.com/java-junit-verify

    IIRC, I heared a different term in the past, but I cannot remember it. #followerPower

  2. 🥁📢 Spring Modulith 2.1 M1, 2.0.2, and 1.4.7 released! The milestone upgrades to Boot 4.1 M1 and adds support to reset the TimeMachine and to skip all tests in case our JUnit integration detects no changes to the project. Grab it while it's 🔥! 🍃📦 #SpringModulith spring.io/blog/2026/01/23/spri

  3. 5 библиотек и фреймворков Java, крайне полезных для разработчика

    Java-библиотеки и фреймворки незаменимы для разработчиков разного уровня. Они предоставляют готовые решения для таких часто встречающихся задач, как работа с коллекциями данных, обработка сетевых запросов, работа с базами данных, с графическим интерфейсом пользователя и многое другое. В сегодняшней подборке расскажем о тех из них, которые могут оказаться весьма полезными для вас. Сама статья рассчитана на разработчиков начинающего уровня. Если вы — профессионал, посоветуйте в комментариях тот инструмент, который используете сами.

    habr.com/ru/companies/sberbank

    #javaбиблиотека #javaфреймворк #junit #hibernate #guava #spring #apache_commons

  4. Красиво инжектим JwtAuthenticationToken в Spring Boot юнит тесты

    Как часто вам приходится тестировать аутентификацию в ваших юнит тестах Spring Boot приложений? Мне довольно часто. И сейчас расскажу о своем кейсе, где я сделал эту работу удобней.

    habr.com/ru/articles/931476/

    #spring_framework #spring_boot #spring_security #oauth2 #junit

  5. The different results of each tool underline the potential for further development, especially in terms of consistent results and practical application. There are some tools that have the potential to increase the efficiency of code reviews and the creation of documentation. Which #AI tools really make a difference? Find out in Steve Poole´s aricle: javapro.io/2024/10/23/are-ai-c

    #ChatGpt #Codegen #Codeium #Jetbrains #JUnit #API #DevOps #Productivity

  6. Tests sind wichtig, aber Testcode kann verrotten. Erfahrt im Vortrag von @sippsack und Roland Krüger auf #KarlsruherEntwicklertag wie ihr mit #JUnit5 und eigenen Assertion-Matchern wartbare und robuste Tests schreibt. Vermeidet schlechte Namen, Redundanzen und hohe Kopplung. Lasst euch von Refactorings nicht aus der Bahn werfen 💪 entwicklertag.de/2023/Richtig_ #SoftwareTesting #CleanCode #ITconference #etka23

  7. 🎄 Advent of Donations - Day 21 🎄

    On day 21 we have the first project from the Java ecosystem. And it's with no doubt the most important project for the JVM: @junit I use it for testing in every JVM project that I work on.

    Read more about Advent of Donations and JUnit in my latest blog update: britter.dev/blog/2025/12/01/ad

    #AdventOfDonations #java #testing #junit

  8. CW: Test automation

    How to fuzz Java projects in Gradle using CI Fuzz CLI

    We open-sourced CI Fuzz CLI, a fuzz testing solution for Java, that integrates into JUnit and other popular dev tools.
    I’ve created a tutorial to show how easy it can be to uncover vulnerabilities in Java applications using CI Fuzz CLI in #Gradle.

    More of this in my live stream next week: code-intelligence.com/webinar/

    #javasecurity #testautomation #fuzzing #JUnit

  9. We open-source our CLI fuzzing solution for Java ☕

    With CI Fuzz CLI, you can now deploy fuzz testing to uncover blind spots in your Java code.

    The CLI tool can be incorporated into existing unit testing frameworks (e.g., JUnit) using three basic commands on your command line or IDE.

    If you ever ran a unit test, you will be able to use CI Fuzz CLI.

    Compatible with #Maven and #Gradle.

    Check out the repo: github.com/CodeIntelligenceTes

    #fuzzing #javasecurity #unittesting

  10. @timbray The dk.brics.automaton Java library comes to my mind immediately. Very minimalistic, incredibly fast and efficient (C-like code actually) and only Junit test dependencies.

    github.com/cs-au-dk/dk.brics.a

    brics.dk/automaton/

    Plus, it is widely used in e.g. and via this in things like or

  11. Spy Master: Unveiling the Mysteries of Mockito Spies, in under 60 seconds. A silly mystery from Tales from the jar side
    #mockito #java #testing #junit #talesfromthejarside
    youtube.com/shorts/cvl76Dq7Y3s

  12. Know What You’re Testing: Mastering Code Coverage in Quarkus with JaCoCo
    A hands-on guide for Java developers to generate, visualize, and improve test coverage in Quarkus applications
    myfear.substack.com/p/quarkus-
    #Java #Jacoco #Testing #Junit #CodeQuality

  13. Know What You’re Testing: Mastering Code Coverage in Quarkus with JaCoCo
    A hands-on guide for Java developers to generate, visualize, and improve test coverage in Quarkus applications
    myfear.substack.com/p/quarkus-
    #Java #Jacoco #Testing #Junit #CodeQuality

  14. Know What You’re Testing: Mastering Code Coverage in Quarkus with JaCoCo
    A hands-on guide for Java developers to generate, visualize, and improve test coverage in Quarkus applications
    myfear.substack.com/p/quarkus-
    #Java #Jacoco #Testing #Junit #CodeQuality

  15. Neue Klamotten fürs Stadtradeln?

    Radelt im Team #SucheSicherenRadWeg für bessere Radwege in der Wetterau, mit schickem Fummel von der

    Kleidertauschparty im Junity – Nachhaltig feiern statt verschwenden!

    Sa. 24. Mai 2025 - 15 bis 17:30 Uhr im Junity in Friedberg
    für alle von 12 bis 27

    Mit Musik, Waffeln und Infos zu Umweltschutz, Nachhaltigkeit in Friedberg.

    Registrierung für Stadtradeln #SucheSicherenRadWeg :
    stadtradeln.de/index.php?id=17

    #wetterau #jungeradfc #sharingiscaring #CircularEconomy

  16. Настройка CI/CD глазами разработчика

    Тема, которая будет сегодня освещена, рассказывается от лица backend разработчика. На нашем проекте нет devops'а, который бы мог подсказать, направить. Поэтому нам пришлось выходить из зоны комфорта. Тут кое-что интересное...

    habr.com/ru/articles/795931/

    #ci/cd_gitlab #java #gradle #postgresql #ubuntu_server #spring #junit #pipeline #gitlabrunner #docker

  17. I recently read and shared You’re Wasting Time in #Java Without These 10 Libraries. I commented on it a bit in my newsletter, but given the amount and intensity of reactions, I think a full-blown post is in order.

    * Project #Lombok
    * #MapStruct
    * #JUnit 5 & #Mockito
    * #SLF4J with Logback
    * Apache Commons Lang & Google Guava
    * #Jackson
    * Hibernate Validator
    * #SpringFramework
    * Apache HttpClient / OkHttp
    * #Liquibase or #Flyway

    blog.frankel.ch/wasting-time-w

  18. I recently read and shared You’re Wasting Time in #Java Without These 10 Libraries. I commented on it a bit in my newsletter, but given the amount and intensity of reactions, I think a full-blown post is in order.

    * Project #Lombok
    * #MapStruct
    * #JUnit 5 & #Mockito
    * #SLF4J with Logback
    * Apache Commons Lang & Google Guava
    * #Jackson
    * Hibernate Validator
    * #SpringFramework
    * Apache HttpClient / OkHttp
    * #Liquibase or #Flyway

    blog.frankel.ch/wasting-time-w

  19. I recently read and shared You’re Wasting Time in #Java Without These 10 Libraries. I commented on it a bit in my newsletter, but given the amount and intensity of reactions, I think a full-blown post is in order.

    * Project #Lombok
    * #MapStruct
    * #JUnit 5 & #Mockito
    * #SLF4J with Logback
    * Apache Commons Lang & Google Guava
    * #Jackson
    * Hibernate Validator
    * #SpringFramework
    * Apache HttpClient / OkHttp
    * #Liquibase or #Flyway

    blog.frankel.ch/wasting-time-w

  20. I recently read and shared You’re Wasting Time in #Java Without These 10 Libraries. I commented on it a bit in my newsletter, but given the amount and intensity of reactions, I think a full-blown post is in order.

    * Project #Lombok
    * #MapStruct
    * #JUnit 5 & #Mockito
    * #SLF4J with Logback
    * Apache Commons Lang & Google Guava
    * #Jackson
    * Hibernate Validator
    * #SpringFramework
    * Apache HttpClient / OkHttp
    * #Liquibase or #Flyway

    blog.frankel.ch/wasting-time-w

  21. Коротко про масштабирование UI-автотестов в Java

    Привет, Хабр! В этой статье рассмотрим, как масштабировать UI-автотесты с помощью Java. Если у вас десяток тестов, проблем не возникнет, они бегают шустро и всем довольны. Но представьте абстрактный проект интернет-банка или маркетплейса, функциональность растёт, количество автотестов идёт на сотни (а то и тысячи). Последовательный запуск такой тестовой свиты может занять довольно большое время. Каждый релиз начинает тормозиться ожиданием результатов автотестов. Масштабирование тестов решает эту проблему: запускаем тесты параллельно, сокращаем время прогона и получаем быстрый фидбэк о качестве.

    habr.com/ru/companies/otus/art

    #java #UIавтотесты #параллельный_запуск #Selenoid #Selenium_Grid #JUnit #TestNG #тестовые_данные

  22. If you deleted all assertions, would your coverage drop? Probably not by much, and that’s the problem. Julius Mischok explains why #PIT mutation testing is the missing layer on top of JaCoCo.

    Test your tests with PIT: javapro.io/2026/01/21/test-you

    #Java #TDD #MutationTesting #JUnit5