Search
1000 results for “junit”
-
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: https://www.baeldung.com/java-junit-verify-interface-contract
IIRC, I heared a different term in the past, but I cannot remember it. #followerPower
-
🥁📢 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
-
5 библиотек и фреймворков Java, крайне полезных для разработчика
Java-библиотеки и фреймворки незаменимы для разработчиков разного уровня. Они предоставляют готовые решения для таких часто встречающихся задач, как работа с коллекциями данных, обработка сетевых запросов, работа с базами данных, с графическим интерфейсом пользователя и многое другое. В сегодняшней подборке расскажем о тех из них, которые могут оказаться весьма полезными для вас. Сама статья рассчитана на разработчиков начинающего уровня. Если вы — профессионал, посоветуйте в комментариях тот инструмент, который используете сами.
https://habr.com/ru/companies/sberbank/articles/813931/
#javaбиблиотека #javaфреймворк #junit #hibernate #guava #spring #apache_commons
-
Красиво инжектим JwtAuthenticationToken в Spring Boot юнит тесты
Как часто вам приходится тестировать аутентификацию в ваших юнит тестах Spring Boot приложений? Мне довольно часто. И сейчас расскажу о своем кейсе, где я сделал эту работу удобней.
https://habr.com/ru/articles/931476/
#spring_framework #spring_boot #spring_security #oauth2 #junit
-
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: https://javapro.io/2024/10/23/are-ai-coding-tools-worth-it-part-2/
#ChatGpt #Codegen #Codeium #Jetbrains #JUnit #API #DevOps #Productivity
-
An update for BuildMachine my pet project for a build system which sucks less. 😎
This improves logging and running Junit.
Changes:
https://codeberg.org/harald/BuildMachine/commit/ec03bb88181f9a0df2c6d55a248f1c88debc6b68https://codeberg.org/harald/BuildMachine
#buildmachine #codeberg #gradle, #npm, #maven, #cmake, #make, #ant, #bld)
-
It was an awesome webinar, I should do that more often. Wait, I do! Stay tuned, next one's going to be awesome too.
https://www.everydayunittesting.com/2022/12/unit-wars-junit-vs-testng-webinar-recording.html#testing #tdd #automatedtesting #unittesting #java #spring #junit #testng #automation #software #apitesting #integrationtesting
-
Can you count to ten? I can. And I'll walk you through TEN differences between JUnit and TestNG.
Register here: https://us02web.zoom.us/webinar/register/3816527847113/WN_IZSJCYJQT92hCffXkPXY5w#testing #tdd #automatedtesting #unittesting #java #spring #junit #testng #automation #software #apitesting #integrationtesting
-
On Thursday, to close off the year, I'm doing a webinar JUnit and TestNG, and their envious affair.
Register here: https://us02web.zoom.us/webinar/register/3816527847113/WN_IZSJCYJQT92hCffXkPXY5w
#testing #tdd #automatedtesting #unittesting #java #spring #junit #testng #automation #software #apitesting #integrationtesting
-
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 💪 https://entwicklertag.de/2023/Richtig_gute_Tests_schreiben_-_die_Best_Practices_fuer_bessere_%28JUnit-%29_Tests.html #SoftwareTesting #CleanCode #ITconference #etka23
-
🎄 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
-
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: https://www.code-intelligence.com/webinar/beyond-unit-testing
-
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: https://github.com/CodeIntelligenceTesting/cifuzz
-
@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.
https://github.com/cs-au-dk/dk.brics.automaton
https://www.brics.dk/automaton/
Plus, it is widely used in e.g. #lucene and via this in things like #solr or #ElasticSearch
-
Wenn man freitags mitten beim Debugging doch lieber #Feierabend macht und dann am Montag #F9 drückt.
-
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
https://youtube.com/shorts/cvl76Dq7Y3s?feature=share -
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
https://myfear.substack.com/p/quarkus-jacoco-test-coverage
#Java #Jacoco #Testing #Junit #CodeQuality -
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
https://myfear.substack.com/p/quarkus-jacoco-test-coverage
#Java #Jacoco #Testing #Junit #CodeQuality -
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
https://myfear.substack.com/p/quarkus-jacoco-test-coverage
#Java #Jacoco #Testing #Junit #CodeQuality -
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/
-
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 27Mit Musik, Waffeln und Infos zu Umweltschutz, Nachhaltigkeit in Friedberg.
Registrierung für Stadtradeln #SucheSicherenRadWeg :
https://www.stadtradeln.de/index.php?id=171&L=0&team_preselect=23156 -
Настройка CI/CD глазами разработчика
Тема, которая будет сегодня освещена, рассказывается от лица backend разработчика. На нашем проекте нет devops'а, который бы мог подсказать, направить. Поэтому нам пришлось выходить из зоны комфорта. Тут кое-что интересное...
https://habr.com/ru/articles/795931/
#ci/cd_gitlab #java #gradle #postgresql #ubuntu_server #spring #junit #pipeline #gitlabrunner #docker
-
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 -
Коротко про масштабирование UI-автотестов в Java
Привет, Хабр! В этой статье рассмотрим, как масштабировать UI-автотесты с помощью Java. Если у вас десяток тестов, проблем не возникнет, они бегают шустро и всем довольны. Но представьте абстрактный проект интернет-банка или маркетплейса, функциональность растёт, количество автотестов идёт на сотни (а то и тысячи). Последовательный запуск такой тестовой свиты может занять довольно большое время. Каждый релиз начинает тормозиться ожиданием результатов автотестов. Масштабирование тестов решает эту проблему: запускаем тесты параллельно, сокращаем время прогона и получаем быстрый фидбэк о качестве.
https://habr.com/ru/companies/otus/articles/969908/
#java #UIавтотесты #параллельный_запуск #Selenoid #Selenium_Grid #JUnit #TestNG #тестовые_данные
-
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/