ycliper

Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
Скачать

Why are my tests so slow? JUnit vs Gradle vs IntelliJ

Автор: Pairing with Duncan

Загружено: 2024-12-13

Просмотров: 922

Описание: I took a test yesterday and it said that I have the reaction time of a 25 year old.

My super speedy brain must be the reason that I find it so irritating to sit and wait for tests to complete. My MacBook Air is apparently 5.5 times faster than its equivalent 10 years ago, but I’m pretty that sure building and running the tests on a medium sized project is much less instant than it was then.

Why are my tests so slow?

In this episode

00:00:27 Both the test runners are lying
00:01:36 We can profile a Gradle build
00:02:37 The IntelliJ runner isn't reporting build time
00:03:28 Instrumenting the whole build and run
00:06:00 Speeding up our Gradle build by skipping a task
00:09:21 Running slow tests first
00:12:44 It's still all a bit rubbish

There is a playlist of TDD Gilded Rose episodes -    • Test Driven Gilded Rose in Kotlin  
and one for Gradle    • Gradle  

The codebase is available on GitHub https://github.com/dmcg/gilded-rose-tdd

I get lots of questions about the test progress bar. It was written by the inimitable @dmitrykandalov. To use it install his Liveplugin (https://plugins.jetbrains.com/plugin/...) and then this gist https://gist.github.com/dmcg/1f56ac39...

If you are going to be at KotlinConf 2025, or even just in Copenhagen in May, then you should sign up for the workshop that Nat Pryce and I are running. It’s called Refactoring to Functional Kotlin, and will give you hands-on experience of taking legacy code and safely migrating it to a functional style. Places are limited, so buy now at https://kotlinconf.com/workhops

If you like this video, you’ll probably like my book Java to Kotlin, A Refactoring Guidebook (http://java-to-kotlin.dev). It's about far more than just the syntax differences between the languages - it shows how to upgrade your thinking to a more functional style.

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
Why are my tests so slow? JUnit vs Gradle vs IntelliJ

Поделиться в:

Доступные форматы для скачивания:

Скачать видео

  • Информация по загрузке:

Скачать аудио

Похожие видео

© 2025 ycliper. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]