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.
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!
I recommend when creating a "Test" using ALT + ENTER on the class you want to test, pick JUnit 4 and let intellij to "fix" the missing library by it self. When I tried import JUnit 4 through "Project structure" it didn't like it at all.
a test is often of use for debugging, if you have a rather complex code you can run simple but eficient tests for every single thing you expect your programm to do. for example checking a lenght of an object with assertEquals if you expected the length to be 4 assertEqual will fail the test if that doesnt apply(assertEquals(4,element.lenght,"failed test")).
"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
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.
It was absolutely beautiful to see all those 700+ test pass ... Simply Gorgeous !!
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.
Thanks for your feedback!
That code coverage feature is really neat. It helped me a lot
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!
@4:57 Where test coverage starts.
Great, comprehensive explanation
Thank you for your video, please how can we test a method returns void ?
My Coverage window isn't opening, nor is it showing the coverage in my project window.
Any ideas?
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
what is the name of that plugin which displays keyboard shortcuts?
Hi, Varatharajan Dhamotharan,
You can find the plugin here: plugins.jetbrains.com/plugin/7345-presentation-assistant
thanks. It was helpful
how to make a task in Gradle for running test coverage or for creating HTML report?
Hi,
There is no such specific task in Gradle for this. You can use IntelliJ IDEA’s actions for it i.e. “’Run with Coverage” action.
How did u make ur fonts bold
Which fonts? What are you looking to do? In this video I'm using Menlo size 16 as the colour scheme font.
can u share the last proyect on the video?
It was: github.com/trishagee/sense/
Test Method isn't showing in the generate box after ALT+Insert inside a test class, anyone know why?
I recommend when creating a "Test" using ALT + ENTER on the class you want to test, pick JUnit 4 and let intellij to "fix" the missing library by it self.
When I tried import JUnit 4 through "Project structure" it didn't like it at all.
спасибо, очень полезно!
What is a test? Why don't we just write a main class? Thank you friends. Can't find an answer!@
a test is often of use for debugging, if you have a rather complex code you can run simple but eficient tests for every single thing you expect your programm to do.
for example checking a lenght of an object with assertEquals if you expected the length to be 4 assertEqual will fail the test if that doesnt apply(assertEquals(4,element.lenght,"failed test")).
@@DamnMickey That makes sense. Thank you very much brother.
No junit.jar the , plugin is ready
This is perfect
"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
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.
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.
Bad video, you glossed over the important things in 4 seconds while spending several minutes talking about changing colors.