Java Testing - JUnit 5 Crash Course

Java Testing - JUnit 5 Crash Course

freeCodeCamp.org

3 года назад

321,107 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Lisa Fox
Lisa Fox - 22.07.2023 12:44

checkIfContactAlreadyExist ???

Ответить
Lisa Fox
Lisa Fox - 22.07.2023 12:24

I think validation in POJO class, is very BAD idea. What will you do if validation fails?

Ответить
Maurice Heide
Maurice Heide - 25.05.2023 10:28

Perfect tutorial! Thank you very much <3

Ответить
I
I - 20.02.2023 10:16

how to open github project files in itelliJ? I mean I able to open to open but can not run the code? Everytime I run the code pop up comes "Edit Configuration" .I don't know how to configure it. Please Help

Ответить
Jovhar Isayev
Jovhar Isayev - 18.02.2023 22:14

Thanks for your time on the video, dude!

Ответить
Dominic Lee
Dominic Lee - 31.12.2022 07:35

Hi how can we do parameterized tests for json files?

Ответить
Pain
Pain - 14.11.2022 06:25

Can anyone here explain in layman's term what this lambda expression means? Thanks in advance.
This one: () ->

Ответить
Rishi Raj
Rishi Raj - 13.11.2022 19:24

Excellent 🎉. Thanks

Ответить
Jet Dario
Jet Dario - 22.08.2022 16:40

Great content..

Ответить
grr lgd
grr lgd - 27.07.2022 16:49

Sai...is a rockstar !

Ответить
Peace Lilies
Peace Lilies - 18.07.2022 14:01

You don't have the test directory set up in your starter project and you already have one set up in the video without explaining how to. This is really confusing.

Ответить
Kayla M
Kayla M - 15.06.2022 21:41

Great tutorial. Just enough information and no fluff.

Ответить
Ruslan
Ruslan - 09.06.2022 18:50

great tutorial

Ответить
Priyen Shah
Priyen Shah - 30.05.2022 13:53

By default, the Lifecycle of a Test class is PER_METHOD, so, after each test method is executed, the constructor of the Test class is called. This can be changed by using the @TestInstance(TestInstance.Lifecycle.PER_CLASS). Mentioning as additional point Just in case.

Ответить
Somaditya Basak
Somaditya Basak - 17.05.2022 15:21

@ProgrammingTechie Thank you, this really helped me understand how to write JUnit tests. Can you please tell me the name of the icon pack that you're using?

Ответить
Pragathi D
Pragathi D - 28.04.2022 09:06

u speak very fast , but ur explanation is too good

Ответить
Aces
Aces - 28.04.2022 06:22

way better tutorials out there

Ответить
bas77
bas77 - 06.03.2022 22:34

You speak super fast and your English accent is bad. You go through what you "explain" too fast.

Ответить
Ayoub Dkhissi
Ayoub Dkhissi - 26.02.2022 15:24

right to the point! thanks

Ответить
clinton Owino
clinton Owino - 24.01.2022 16:12

Thanks for this mate

Ответить
Linda Nina
Linda Nina - 15.01.2022 14:02

thank you so much, you‘re a lifesaver!!

Ответить
Tim Rich
Tim Rich - 08.01.2022 06:55

copy paste thats all you Indians can do , and shamelessly you call yourselves `Engineers` .......

Ответить
Alexey Glukharev
Alexey Glukharev - 06.01.2022 11:28

Great video, but I have a question. Why don't you validate the parameters in the setters and the constructor of Contact, but use separate validation methods for this purpose. Those methods may not be called at all, then the object will be in an incorrect state.

Ответить
Mithun Biswas
Mithun Biswas - 02.01.2022 04:13

Great explanation, thanks

Ответить
Ibell
Ibell - 16.12.2021 12:40

thankyou very much sir

Ответить
TegoNieWiedziales
TegoNieWiedziales - 10.12.2021 02:16

We can delete @BeforeEach public void setup(){ContactManager = new ContactManager();} and do...

class ContactManagerTest{
private final ContactManager contactManager = new ContactManager();

}

Ответить
TegoNieWiedziales
TegoNieWiedziales - 10.12.2021 01:59

When you remove from pom version you have latest version jupiter :)

Ответить
Shomik Awsaf Khan
Shomik Awsaf Khan - 25.11.2021 22:10

What software are you using?

Ответить
Mohamed Akram
Mohamed Akram - 09.11.2021 15:27

Unfortunately, I can't dislike more than once

Ответить
Martin Geremi Flores
Martin Geremi Flores - 21.10.2021 04:44

Concise and precise. A very good tutorial.

Ответить
Md Abdur Rakib
Md Abdur Rakib - 15.10.2021 00:03

These theme color is awesome. Can you say for its setting??

Ответить
Leônidas Yopán
Leônidas Yopán - 13.10.2021 00:08

Excellent Work man.

Ответить
Rizwan
Rizwan - 04.10.2021 23:15

Please post katalon studio full tutorial

Ответить
Vahe
Vahe - 15.09.2021 16:58

Very clean. Thanks!

Ответить
Hugo Azevedo
Hugo Azevedo - 01.09.2021 21:03

Thanks for this, I was having some problems using this because problems between 4 & 5.

Ответить
Masoumeh Shirazi
Masoumeh Shirazi - 27.08.2021 18:47

This is very good video ,Thank you !

Ответить
Varad Thokal
Varad Thokal - 27.08.2021 11:14

In the nested test of parameterized test, how does the static function providing the list doesn't throw an error?

Ответить
DEBODEEP PAUL
DEBODEEP PAUL - 19.07.2021 11:40

This tutorial helped alot ❤️

Ответить
Brandon Swenson
Brandon Swenson - 16.07.2021 03:07

This is a very good video. And I am realizing that 99% of my methods return void

Ответить
keropaci
keropaci - 20.06.2021 17:09

This is one of the best tutorials I've ever seen! Thank you!

Ответить
Maduraiveeran Vijayaanand
Maduraiveeran Vijayaanand - 03.06.2021 21:44

Excellent Excellent to be infinite.

Ответить
Liam Cahill
Liam Cahill - 30.04.2021 01:28

Very helpful. Thank you, sir.

Ответить
Rohit Rai
Rohit Rai - 25.04.2021 02:23

very well done.

Ответить
Chetan Raikwar
Chetan Raikwar - 16.04.2021 06:50

Is JUnit5 really better than JUnit4 ?
Having a single jar is still better than having granular structure requiring ugly maven projects.

Ответить
Zach Hewitt
Zach Hewitt - 16.04.2021 00:22

Why does the AfterAll and BeforeAll have to have a static before the @TestInstance is implemented?

Ответить
Piotr Boczar
Piotr Boczar - 11.04.2021 20:59

Thank you for this !

Ответить
Denis Lapshin
Denis Lapshin - 04.04.2021 11:42

very good video

Ответить