294 place 0

480 Разделяй и тестируй: @DataJpaTest и @WebMvcTest для быстрых тестов Spring Boot

Habr
badcasedaily1 (OTUS) @ Habr · 12/24/2025 10:10 EDT

Разделяй и тестируй: @DataJpaTest и @WebMvcTest для быстрых тестов Spring Boot

Привет, Хабр! Cегодня рассмотрим, как ускорить интеграционные тесты в Spring Boot с помощью специальных slice аннотаций. Начнём с того, почему вообще тесты могут быть медленными. Используя @SpringBootTest, мы просим Spring Boot поднять весь контекст приложения для каждого тестового класса. У нас доступны все бины, но часто все это избыточно. Например, хочется протестировать контроллер, а Spring загружает ещё и базу данных, и сервисы, и шлёт запросы к Kafka. В результате простой тест метода контроллера может

To see detailed statistics for the news please log in »

Read the original

Add your comment
You must be logged in with Facebook to read and write comments.

A newsletter a day!

You may get 10 most important news around midday in daily newsletter. Press the button and we will send you the most important news only, no spam attached.

or register

LIKE us on Facebook so you won't miss the most important news of the day!

News from the same source
Habr Habr
Engadget
Karissa Bell @ Engadget 1 place · today 16:52 EDT

Instagram wants you to personalize your Reels algorithm for 2026

Last month, Instagram began rolling out a new set of controls that allowed users to personalize the topics recommended to them by the Reels algorithm. Now, Meta is making that feature available to all English users of the app globally, along with the ability to highlight their top topics for the coming year. The feature begins with a selection of topics Meta's AI thinks you're interested in based on your... Read more

2,779 fresh

🔮
13.01.2026 ♏︎ Dear Scorpio, today will bring a mixed range of emotions and events that require your... Read more ›
Engadget
Will Shanklin @ Engadget 2 place · today 17:03 EDT

Roblox's age verification system is reportedly a trainwreck

Roblox's age-verification system was designed as a response to allegations it has a child predator problem. Less than a week in, how's it going? Well, Wired reported on Tuesday that, in some cases, it's classifying children as adults and adults as children. So, not so great!Last week, Roblox made age verification mandatory for anyone using the platform's chat feature. That process involves either submitting a facial age estimate via selfie... Read more

972 fresh

Wired
Lily Hay Newman, Maddy Varner, Matt Burgess @ Wired 1 place · today 05:30 EDT

What to Do If ICE Invades Your Neighborhood

With federal agents storming the streets of American communities, there’s no single right way to approach this dangerous moment. But there are steps you can take to stay safe—and have an impact. Read more

708

Business Insider
Will Martin @ Business Insider 1 place · today 05:48 EDT

The world's central bankers are rallying around Fed chair Jerome Powell in his fight with Trump

A joint letter from the heads of 10 central banks called Powell a "respected colleague held in the highest regard by all who have worked with him." Read more

670

Tom's Hardware
Tom's Hardware 1 place · today 09:05 EDT

Trump says that AI tech companies need to ‘pay their own way’ when it comes to their electricity consumption — says major changes are coming to ensure Americans don't 'pick up the tab' for data centers

The U.S. President says that his team will work with various AI tech companies, starting with Microsoft, to ensure that their power demands will stop affecting the power prices that ordinary Americans pay for. Read more

564 fresh

The Verge
Lauren Feiner @ The Verge 1 place · today 15:53 EDT

Senate passes a bill that would let nonconsensual deepfake victims sue

The Senate passed a bill that could give people who've found their likeness deepfaked into sexually-explicit images without their consent a new way to fight back. The Disrupt Explicit Forged Images and Non-Consensual Edits Act (DEFIANCE Act), would let victims sue the individuals who created the images for civil damages. The bill passed with unanimous […] Read more

481 fresh

Business Insider
Alistair Barr @ Business Insider 2 place · today 14:28 EDT

Tesla's EV market share soars in the US as rivals struggle without government help

With US federal EV incentives gone, Tesla gets back to dominating the US market. It's all about volume and EV manufacturing scale. Read more

448 fresh

Wired
Caroline Haskins @ Wired 2 place · today 11:45 EDT

Dozens of ICE Vehicles in Minnesota Lack ‘Necessary’ Lights and Sirens

A contract justification published in a federal register on Tuesday says that 31 ICE vehicles operating in the Twin Cities area “lack the necessary emergency lights and sirens” to be “compliant.” Read more

442 fresh

Gizmodo
Matt Novak @ Gizmodo 3 place · today 15:00 EDT

‘Star Trek Real’: Hegseth Praises Grok for Allowing Users to Fight Wars

"We will win this race by becoming an AI-first war-fighting force across all domains," the Defense Secretary said Monday. Read more

440 fresh

Wired
Vittoria Elliott @ Wired 3 place · today 13:59 EDT

Everything Is Content for the ‘Clicktatorship’

For the second Trump administration, the world of online conspiracies is shaping real-world policies like never before. Read more

432 fresh

Wired
David Gilbert @ Wired · today 13:54 EDT

Roblox’s AI-Powered Age Verification Is a Complete Mess

Kids are being identified as adults—and vice versa—on Roblox, while age-verified accounts are already being sold online. Read more

416 fresh

The Verge
Justine Calma @ The Verge 2 place · today 15:01 EDT

RFK Jr.’s new food pyramid could be a disaster for the environment — if Americans actually pay any attention to it

The Trump administration announced last week that it wants Americans to consume more protein, churning out a colorful illustration of an inverted food pyramid that prominently features a big, red steak, a wedge of cheese, and a carton of whole milk at the top and claiming it's "ending the war on protein." It may seem […] Read more

382 fresh

Business Insider
Taylor Rains @ Business Insider 3 place · today 16:03 EDT

Delta is buying Boeing 787s for the first time. Here's why United and American may feel the pressure.

The 787 order reinforces Delta's broader strategy of competing for premium long-haul travelers and adds pressure on rivals American and United. Read more

351 fresh

Business Insider
Brent D. Griffiths @ Business Insider · today 16:15 EDT

Anthropic says its buzzy new Claude Cowork tool was mostly built by AI — in less than 2 weeks

Boris Cherny, head of Claude Code, said that Anthropic's AI coded "pretty much all" of Cowork, a new tool that's been well-received among techies. Read more

338 fresh

Vox
Ian Millhiser @ Vox 1 place · today 15:45 EDT

The Supreme Court seems poised to deliver another blow to trans rights

There was never much reason to hope that the Supreme Court, which heard two cases on Tuesday asking whether transgender women have a right to play women’s high school or college sports, was going to side with those athletes. The Court has a 6-3 Republican majority. And, even if it didn’t, existing law isn’t particularly […] Read more

335 fresh

Gizmodo
Germain Lussier @ Gizmodo · today 12:45 EDT

What the Hell Are the Russo Brothers Talking About?

The 'Avengers: Doomsday' directors have us questioning the four teaser trailers, which apparently are neither teasers nor trailers. Read more

333 fresh

The most popular news from the same source for the last week
Habr Habr
Habr
kapas19 @ Habr 2 place · 01/12/2026 01:03 EDT

[Перевод] Причинность в физике: от Галилея до Эйнштейна и далее

Причинность – один из наиболее фундаментальных и в то же время ускользающих понятий в физике. От интуитивной роли в повседневном опыте до формальной и часто неявной роли в научных теориях причинность бросала вызов философам и физикам на протяжении веков. В этой работе мы совершаем краткое историческое и концептуальное путешествие через классическую и современную физику, прослеживая, как причинность трактовалась, подвергалась сомнению или защищалась в последовательных физических системах – от механики Галиле Read more

32

Habr
kamushken @ Habr 1 place · 01/12/2026 04:18 EDT

Тестирую Nano Banana на реальной UX-задаче → создать workspace и пригласить коллегу (B2B SaaS)

За 2025 год генеративные инструменты выросли не только по качеству, а по ощущениям в работе дизайнера (и не только для генерации КДПВ на Хабре). Я много времени провожу в AI-UI экспериментах и вижу, что решать прикладные UX задачи стало заметно проще.Уже сейчас внятный lo-fi прототип можно получить быстрее, а дальше уже выбирать, как жить: отдавать фронтендеру, прогонять через Lovable, Cursor или v0, или же доводить руками до идеала.В этой статье... Read more

30

Habr
Hanamime (Сбер) @ Habr 2 place · 01/12/2026 03:58 EDT

Как фракталы преобразили подходы в математике и других науках

Термин «фрактал» появился в 1975 году. Его ввёл математик Бенуа Мандельброт, работавший в IBM и преподававший в Йельском университете. Фракталы — это математические объекты или природные формы, обладающие свойством самоподобия: их части повторяют общую структуру при любом масштабе. Мандельброт предложил формальный язык для описания таких форм — фрактальную геометрию. Она позволила анализировать изломанные линии, ветвящиеся структуры и объекты с дробной размерностью, которые не укладывались в рамки классичес Read more

24

Habr
GeorgyKurakin @ Habr 1 place · 01/09/2026 14:07 EDT

Гортанный праиндоевропейский, или как звучали ларингалы

Ларингалы – самые загадочные звуки праиндоевропейского языка, не сохранившиеся ни в одном из живых индоевропейских языков. Звуки-призраки, которых никто из ныне живущих не слышал. И звуки-атланты, на которых держатся все реконструкции праиндоевропейского. Почему учёные так уверены в их существовании? Можем ли мы хотя бы представить себе их звучание? И как их можно записать, кроме нижних индексов? Обо всём по порядку – в этой особой статье по заявкам читателей. Читать далее Read more

15

Habr
muxa_ru @ Habr 2 place · 01/07/2026 19:34 EDT

7 января — День Программиста! Какого?

История с тем, что украинский президент установил на 7 января «День программиста» слегка взбудоражила общественность, но не с той стороной, которую я считаю самой интересной.Вобщем, сперва будет рассказ о том, откуда берутся всякие там «Международные дни» и какова их ценность, а затем будет вопрос, на который я не смог найти ответа. Читать далее Read more

8

Habr
Alexey_Begin @ Habr 3 place · 01/12/2026 00:36 EDT

25+ лучших гугловских инструментов и гайдов по ИИ, которые стоит хранить в закладках в 2026 году

Все самое лучшее от Google в одном месте: нейросети, промты, гайды, а также, ИИ-проекты, которые пока не вышли в официальный доступ. Читать далее Read more

5

Habr
bull1251 @ Habr 2 place · 01/08/2026 08:56 EDT

Современные подходы к безопасности ИИ часто сводятся к внешним запретам и попыткам заставить системы выглядеть «этичными». Однако системный анализ и опыт биологической эволюции указывают на то, что подобные методы прямого ограничения могут оказаться неэффективными при масштабировании систем до уровня искусственного интеллекта общего назначения (AGI).В данной статье анализируется переход от биологических основ принятия решений к математическим моделям кооперации искусственного интеллекта. Мы рассмотрим, поче Read more

1

Habr
ALT0105 @ Habr 1 place · 01/08/2026 12:55 EDT

Преобразование Фурье и спектр излучения — одно и то же?

У меня нет классического образования в области радиотехники, но связь представлений сигнала во временной и частотной областях меня сильно интересует. При попытке сформировать в голове ясное представление возникают примерно такие вопросы.Рассмотрим базовую ситуацию для любого радиоканала.Передатчик излучает немодулированную несущую (Рис. 1) Читать далее Read more

2

Habr
MaFrance351 (Timeweb Cloud) @ Habr 3 place · 01/09/2026 03:05 EDT

Сам себе VoLTE. Запускаем сотовую сеть 4G LTE с поддержкой звонков и SMS

Приветствую всех! Два года назад я уже рассказывал о том, как запустить у себя дома базовую станцию 4G LTE. Тем не менее, в той сети работал только мобильный интернет, тогда как при попытке позвонить или отправить SMS связь немедленно обрывалась.Самое время восполнить это упущение. Сегодня мы поднимем сеть, в которой будут работать все эти функции. Заодно разберёмся, как работают звонки в LTE-сетях, как запустить такую сеть при помощи SDR и... Read more

2

Habr
MrRjxrby (BotHub) @ Habr 2 place · 01/09/2026 08:36 EDT

ChatGPT 5.2 Pro vs Claude Opus 4.5 vs Gemini 3 Pro: битва титанов в программировании

Доброго времени суток, «Хабр»!На дворе 2026 год, когда люди применяют нейросети в разных сферах своей жизни: от помощи в обучении до решения достаточно сложных задач.Программирование - область, требующая солидного запаса знаний и, конечно же, опыта их применения. Не каждая модель способна продемонстрировать даже относительно качественный результат.Сегодня мы сравним ChatGPT 5.2 Pro, Claude Opus 4.5 и Gemini 3 Pro в области программирования. Мне не интересно оценивать лишь написание программ под конкретные... Read more

1

Most popular sources

  • You see 890 news out of 890.
  • Sources 61 out of 61.
Business Insider 22% 5
Wired 20% 1
Gizmodo 10% 6
Ars Technica 6% 1
Tom's Hardware 5% 2
View sources »

LIKE us on Facebook so you won't miss the most important news of the day!

13.01.2026 17:35
Last update: 17:30 EDT.
News rating updated: 00:33.

What is Times42?

Times42 brings you the most popular news from tech news portals in real-time chart.
Read about us in FAQ section.


Times42 © 2026