Search
1000 results for “junit”
-
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: https://javapro.io/2026/01/21/test-your-tests-mutation-testing-in-java-with-pit/
-
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: https://javapro.io/2026/01/21/test-your-tests-mutation-testing-in-java-with-pit/
-
BTW, this is how `ares-suitbl` CLI test runner looks and feels like:
- 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). -
Эксперименты с распараллеливанием Java-автотестов
За годы работы сначала разработчиком, а потом автоматизатором сталкивался с необходимостью запускать тесты параллельно. Действовал в основном интуитивно и шёл строго по документации. Недавно закралась мысль поставить серию экспериментов и посмотреть фактам в глаза. Результаты оказались предсказуемые, но тем не менее интересными. Эта статья для тех, кто делает первые шаги в распараллеливании тестов на Java. Будет полезна как автотестерам, так и начинающим разработчикам. Будем анализировать выводы полученные в ходе эксперимента, а не голую теорию из документации. После прочтения сможете повторить все самостоятельно как на готовом примере из статьи, так и на своих проектах.
https://habr.com/ru/companies/rostelecom/articles/1025746/
#автотесты #параллельные_тесты #ускорение_тестирования #junit5 #gradle
-
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
https://www.the-main-thread.com/p/java-24-markdown-javadoc-maven-tutorial
-
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 #Java #Testing #OpenSource #JavaDev #JUnit #VisualTesting
-
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 #Java #Testing #OpenSource #JavaDev #JUnit #VisualTesting
-
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 #Java #Testing #OpenSource #JavaDev #JUnit #VisualTesting
-
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 #Java #Testing #OpenSource #JavaDev #JUnit #VisualTesting
-
Несколько мобильных приложений в одном Appium‑проекте: как это можно организовать
Как тестировать несколько мобильных приложений в одном «Appium‑проекте». Показываю архитектуру фреймворка, запуск тестов через аннотации, потокобезопасный контекст и подключение новых приложений без дублирования кода.
https://habr.com/ru/articles/1010216/
#appium #java #android #adb #android_studio_emulator #allure #junit5 #selenide #mobile_testing #qa_automation
-
Несколько мобильных приложений в одном Appium‑проекте: как это можно организовать
Как тестировать несколько мобильных приложений в одном «Appium‑проекте». Показываю архитектуру фреймворка, запуск тестов через аннотации, потокобезопасный контекст и подключение новых приложений без дублирования кода.
https://habr.com/ru/articles/1010216/
#appium #java #android #adb #android_studio_emulator #allure #junit5 #selenide #mobile_testing #qa_automation
-
Несколько мобильных приложений в одном Appium‑проекте: как это можно организовать
Как тестировать несколько мобильных приложений в одном «Appium‑проекте». Показываю архитектуру фреймворка, запуск тестов через аннотации, потокобезопасный контекст и подключение новых приложений без дублирования кода.
https://habr.com/ru/articles/1010216/
#appium #java #android #adb #android_studio_emulator #allure #junit5 #selenide #mobile_testing #qa_automation
-
Несколько мобильных приложений в одном Appium‑проекте: как это можно организовать
Как тестировать несколько мобильных приложений в одном «Appium‑проекте». Показываю архитектуру фреймворка, запуск тестов через аннотации, потокобезопасный контекст и подключение новых приложений без дублирования кода.
https://habr.com/ru/articles/1010216/
#appium #java #android #adb #android_studio_emulator #allure #junit5 #selenide #mobile_testing #qa_automation
-
Java для автотестов: первые шаги с нуля
Статья к открытому уроку курса QA Automation Engineer про начало разработки тестов на языке Java которая погружает в основы синтаксиса
https://habr.com/ru/companies/otus/articles/994164/
#java #автоматизация_тестирования #QA_Automation #обучение_Java #Selenium #JUnit #программирование_для_начинающих
-
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 -
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 https://srfi.schemers.org/srfi-78/srfi-78.html 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 failsI'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
-
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: https://javapro.io/2026/01/21/test-your-tests-mutation-testing-in-java-with-pit/
-
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: https://javapro.io/2026/01/21/test-your-tests-mutation-testing-in-java-with-pit/
-
🥁📢 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 https://spring.io/blog/2026/01/23/spring-modulith-2-1-m-1-2-0-2-and-1-4-7-released
-
🎄 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: https://britter.dev/blog/2025/12/01/advent-of-donations/#day-21---junit
-
Коротко про масштабирование UI-автотестов в Java
Привет, Хабр! В этой статье рассмотрим, как масштабировать UI-автотесты с помощью Java. Если у вас десяток тестов, проблем не возникнет, они бегают шустро и всем довольны. Но представьте абстрактный проект интернет-банка или маркетплейса, функциональность растёт, количество автотестов идёт на сотни (а то и тысячи). Последовательный запуск такой тестовой свиты может занять довольно большое время. Каждый релиз начинает тормозиться ожиданием результатов автотестов. Масштабирование тестов решает эту проблему: запускаем тесты параллельно, сокращаем время прогона и получаем быстрый фидбэк о качестве.
https://habr.com/ru/companies/otus/articles/969908/
#java #UIавтотесты #параллельный_запуск #Selenoid #Selenium_Grid #JUnit #TestNG #тестовые_данные
-
Yay, one big step closer to the release of #IntelliJIDEA 2025.3! Check out the release candidate: https://blog.jetbrains.com/idea/2025/11/intellij-idea-2025-3-release-candidate/
-
Yay, one big step closer to the release of #IntelliJIDEA 2025.3! Check out the release candidate: https://blog.jetbrains.com/idea/2025/11/intellij-idea-2025-3-release-candidate/
-
Yay, one big step closer to the release of #IntelliJIDEA 2025.3! Check out the release candidate: https://blog.jetbrains.com/idea/2025/11/intellij-idea-2025-3-release-candidate/
-
Yay, one big step closer to the release of #IntelliJIDEA 2025.3! Check out the release candidate: https://blog.jetbrains.com/idea/2025/11/intellij-idea-2025-3-release-candidate/
-
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 -
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 -
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 -
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