Unit Testing and Coverage in IntelliJ IDEA

preview_player
Показать описание
Find out how to:
- Create test classes and test methods
- Run and re-run tests
- Debug code
- Measure test coverage

*Author: Trisha Gee

Join us:

Category: Testing

#getting_to_know_intellij #intelliJIDEA #intelliJ #jetbrains
Рекомендации по теме
Комментарии
Автор

It was absolutely beautiful to see all those 700+ test pass ... Simply Gorgeous !!

vnnyboy
Автор

That code coverage feature is really neat. It helped me a lot

WissCoast
Автор

Thank you for including the tiny but so important hint about being able to change the colours. I'm someone with protanopia and this is going to help me see better.

boku
Автор

Coverage for Classes/Lines/Methods is not bad, but what's really missing is an option to show coverage for execution branches. Jacoco provides that info; however, IntelliJ doesn't seem to be able to show it.

Other than that, excellent video. Thanks!

henninghoefer
Автор

Thank you for your video, please how can we test a method returns void ?

abdelkaderwalidmekibes
Автор

My Coverage window isn't opening, nor is it showing the coverage in my project window.
Any ideas?

DavidWoodMusic
Автор

Code coverage is not working, despite passing tests all the results are at 0%. When I run it on Gitlab the overall code coverage is 96%. It's bugged

dariantexanditama
Автор

what is the name of that plugin which displays keyboard shortcuts?

varatharajandhamotharan
Автор

how to make a task in Gradle for running test coverage or for creating HTML report?

doit
Автор

What is a test? Why don't we just write a main class? Thank you friends. Can't find an answer!@

thanasisathanasi
Автор

Test Method isn't showing in the generate box after ALT+Insert inside a test class, anyone know why?

Thepickledonion
Автор

can u share the last proyect on the video?

rubnvaz
Автор

"This time I'll use the keyboard shortcut shift-control-r on the mac or SHIT control control f10 on windows or Linux." - Made me imagine that's what she actually ment to say 😆. 2:04

dennisaleksandrov
Автор

You went of your way to not be like eclipse, that you have created this huge mess.
Eclipse its so easy, .
Right click method run as run or debug.

But no.
Its a horrible IDE.

tonycavanagh
Автор

Test Coverage doesn't even start until 5:00 skip to that point if you know what a unit test already is.
Wish this video didn't waste so much time.

SpacePrez