home.social

Search

1000 results for “junit”

  1. 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

  2. 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

  3. BTW, this is how `ares-suitbl` CLI test runner looks and feels like:

    youtu.be/5BuovzG48NQ

    - Customizing reporting (from silent or compact to tree-based or full-blown junit).
    - Filtering and scheduling tests (using module name, test description or whatever).
    - Bringing your own reporters and schedulers (CLI oneliners, combinators or an arbitrary implementation from your module).

  4. Эксперименты с распараллеливанием Java-автотестов

    За годы работы сначала разработчиком, а потом автоматизатором сталкивался с необходимостью запускать тесты параллельно. Действовал в основном интуитивно и шёл строго по документации. Недавно закралась мысль поставить серию экспериментов и посмотреть фактам в глаза. Результаты оказались предсказуемые, но тем не менее интересными. Эта статья для тех, кто делает первые шаги в распараллеливании тестов на Java. Будет полезна как автотестерам, так и начинающим разработчикам. Будем анализировать выводы полученные в ходе эксперимента, а не голую теорию из документации. После прочтения сможете повторить все самостоятельно как на готовом примере из статьи, так и на своих проектах.

    habr.com/ru/companies/rostelec

    #автотесты #параллельные_тесты #ускорение_тестирования #junit5 #gradle

  5. JavaDoc finally got a quality-of-life upgrade that actually matters in source code.

    I wrote a hands-on tutorial on Markdown JavaDoc in Java 24: /// comments, package docs, records, sealed types, Maven, Javadoc, VS Code hovers, and plain JUnit tests.

    This is not about prettier HTML. It is about comments developers and AI tools can read more easily.

    #Java #Java24 #Javadoc #Maven #JUnit #DevTools

    the-main-thread.com/p/java-24-

  6. ApproveJ 1.5.0 is here! 🚀

    Stop writing manual assertions for complex data. Our approval testing library just got a huge update:

    📸 Visual Testing: Approve screenshots (Playwright/Selenium) with pHash.
    🗄️ DB Testing: Approve SQL results as Markdown tables.

    🔗 approvej.org

  7. ApproveJ 1.5.0 is here! 🚀

    Stop writing manual assertions for complex data. Our #JVM approval testing library just got a huge update:

    📸 Visual Testing: Approve screenshots (Playwright/Selenium) with pHash.
    🗄️ DB Testing: Approve SQL results as Markdown tables.

    🔗 approvej.org

    #ApproveJ #Java #Testing #OpenSource #JavaDev #JUnit #VisualTesting

  8. ApproveJ 1.5.0 is here! 🚀

    Stop writing manual assertions for complex data. Our #JVM approval testing library just got a huge update:

    📸 Visual Testing: Approve screenshots (Playwright/Selenium) with pHash.
    🗄️ DB Testing: Approve SQL results as Markdown tables.

    🔗 approvej.org

    #ApproveJ #Java #Testing #OpenSource #JavaDev #JUnit #VisualTesting

  9. ApproveJ 1.5.0 is here! 🚀

    Stop writing manual assertions for complex data. Our #JVM approval testing library just got a huge update:

    📸 Visual Testing: Approve screenshots (Playwright/Selenium) with pHash.
    🗄️ DB Testing: Approve SQL results as Markdown tables.

    🔗 approvej.org

    #ApproveJ #Java #Testing #OpenSource #JavaDev #JUnit #VisualTesting

  10. Несколько мобильных приложений в одном Appium‑проекте: как это можно организовать

    Как тестировать несколько мобильных приложений в одном «Appium‑проекте». Показываю архитектуру фреймворка, запуск тестов через аннотации, потокобезопасный контекст и подключение новых приложений без дублирования кода.

    habr.com/ru/articles/1010216/

    #appium #java #android #adb #android_studio_emulator #allure #junit5 #selenide #mobile_testing #qa_automation

  11. Несколько мобильных приложений в одном Appium‑проекте: как это можно организовать

    Как тестировать несколько мобильных приложений в одном «Appium‑проекте». Показываю архитектуру фреймворка, запуск тестов через аннотации, потокобезопасный контекст и подключение новых приложений без дублирования кода.

    habr.com/ru/articles/1010216/

    #appium #java #android #adb #android_studio_emulator #allure #junit5 #selenide #mobile_testing #qa_automation

  12. Несколько мобильных приложений в одном Appium‑проекте: как это можно организовать

    Как тестировать несколько мобильных приложений в одном «Appium‑проекте». Показываю архитектуру фреймворка, запуск тестов через аннотации, потокобезопасный контекст и подключение новых приложений без дублирования кода.

    habr.com/ru/articles/1010216/

    #appium #java #android #adb #android_studio_emulator #allure #junit5 #selenide #mobile_testing #qa_automation

  13. Несколько мобильных приложений в одном Appium‑проекте: как это можно организовать

    Как тестировать несколько мобильных приложений в одном «Appium‑проекте». Показываю архитектуру фреймворка, запуск тестов через аннотации, потокобезопасный контекст и подключение новых приложений без дублирования кода.

    habr.com/ru/articles/1010216/

    #appium #java #android #adb #android_studio_emulator #allure #junit5 #selenide #mobile_testing #qa_automation

  14. Java для автотестов: первые шаги с нуля

    Статья к открытому уроку курса QA Automation Engineer про начало разработки тестов на языке Java которая погружает в основы синтаксиса

    habr.com/ru/companies/otus/art

    #java #автоматизация_тестирования #QA_Automation #обучение_Java #Selenium #JUnit #программирование_для_начинающих

  15. 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

  16. Excited for #JCON EUROPE 2026? See Tim te Beek & Rick Ossendrijver at #JCON2026 in Cologne giving a #workshop about 'Break Your #Testing Habits'

    Old habits are hard to break; did you know starting #JUnit test methods with test was last …

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

  17. I like #UnitTesting. The original #SUnit was wonderful, but it was ported to the land of needless complexity and became #JUnit which begat a whole lot of add on pieces. A simple idea buried under feature creep.

    My favorite testing framework is #SRFI-78 srfi.schemers.org/srfi-78/srfi which provides a little reporting and summarization but it doesn't interfere with the tests. In C the MinUnit header file from Jera Design is beautiful. I use a beefier implementation, again to get simple reporting.

    #Forth has ttester. It is terse to the point that I am tempted to add some reporting. So far I've resisted the temptation.

    As in SRFI-78, you test a phrase and compare against expected results on the stack.

    T{ 1 2 3 drop -> 1 2 }T passes
    T{ 1 2 3 dup -> 1 2 3 }T fails

    I'm writing tests for my library code and use them to test expressions in my AoC efforts.

    I'm trying to decide if I should include the test in the library source (compiled conditionally) or in separate test-* files. #Programming

  18. 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

  19. 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

  20. 🥁📢 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

  21. 🎄 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

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

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

    habr.com/ru/companies/otus/art

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

  23. 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

  24. 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

  25. 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

  26. 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