Software Testing Tutorial - Learn Unit Testing and Integration Testing

Software Testing Tutorial - Learn Unit Testing and Integration Testing

Amigoscode

3 года назад

567,462 Просмотров

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


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

Yavuz Selim Bektaş
Yavuz Selim Bektaş - 17.09.2023 22:45

It does not include any code about integration testing then you should not write learn integration testing.

Ответить
Victor ,
Victor , - 15.09.2023 03:24

Man, you are beutiful

Ответить
Matthias Breiter
Matthias Breiter - 10.09.2023 15:35

Very good and great that you motivate programmers to write tests :) There is so much stuff you will miss if you don't write a Test.

Ответить
Silver surfer
Silver surfer - 01.09.2023 12:38

You rock! really helpful!

Ответить
Luca Rav
Luca Rav - 28.08.2023 18:39

sup! what you use for drawing UML diagrams?

Ответить
m7md Arwani
m7md Arwani - 15.08.2023 19:43

I really enjoyed this video. This is my first time playing with tests. I heard that software engineers write tests before actually coding their projects. I wonder if the same is true for Spring Boot developers.

Ответить
Chaalal Hichem
Chaalal Hichem - 31.07.2023 16:25

Salam Alikum, what to say, amazing are your courses, barak Obama fik; sorry Barak Allah fik :).

Ответить
User 99
User 99 - 25.07.2023 09:48

I always find your videos very helpful, however I have an important note on this one, the content is great but the Gender enum has a serious problem!! brother you're a muslim you should know better.

Ответить
Buddhi Hasanka
Buddhi Hasanka - 22.07.2023 11:15

Great video! I have learned a lot. Thank you.

Ответить
Sentient Being
Sentient Being - 17.07.2023 08:26

Can anybody share the code for test delete method? When I try to create an object and save it to the database whose id i can pass it to the deleteById method and check its behaviour. But I m getting the error id filed cannot be null. But it is supposed to be auto-generated.

Ответить
Nicolás Grossi
Nicolás Grossi - 05.07.2023 08:10

I love you my friend

Ответить
ahmad AYADA
ahmad AYADA - 20.06.2023 16:15

1st thank You for all, i see you used sql db(PostgreSQL), but i have a question, i'm working with nosql database (mongoDB), so my question is : i can use h2DB for unit test as same you made in this video ??

Ответить
Alberto Alonso Saavedra
Alberto Alonso Saavedra - 13.06.2023 13:01

Hi! I have one question. Why sometimes you autowire the object and other times you initialize it at the BeforeEach? Thanks!!

Ответить
Roman Chumak
Roman Chumak - 12.06.2023 19:08

Great course

Ответить
Paweł
Paweł - 12.06.2023 16:16

I had a lot of questions while watching this video, but you always answered on my questions a few minutes later, you are awesome dude.

Ответить
noname
noname - 08.06.2023 04:38

hörrïbłë mönkëÿ 🦍

Ответить
m_jdm35
m_jdm35 - 02.06.2023 21:25

What happened to Mockito.verify, I can't import it. MAAACKIIIITOOOOUU!!!!!!!!

Ответить
Krzysztof Nowak
Krzysztof Nowak - 30.05.2023 13:41

why pom xml cloned from the repo is different than the one in the video?

Ответить
Karlo Dimjašević
Karlo Dimjašević - 29.05.2023 19:51

Awesome! You've covered everything that I was looking for! Keep this up!

Ответить
Kimate Pro
Kimate Pro - 10.05.2023 11:36

Hey, in which program do you make your UML diagrams?

Ответить
Sim-Card
Sim-Card - 04.05.2023 10:20

How would i test findByEmail() method of StudentService which calls findByEmail() method of StudentRepository with mock?🤔

Ответить
Mahjoub Habbachi
Mahjoub Habbachi - 26.04.2023 17:18

im using eclipse, and i dont find given() static method if i do ctrl space but if i write explicitly the import it work if someone can help me to fix that thanks

Ответить
qigong zhu
qigong zhu - 16.04.2023 22:06

Sir I do have a question about the repository part , since you only use simple return boolean value to test , what if it returns List of Entity ? ,How to verify it ? I don't see how to do it based on the video

Ответить
Shashank Jakhmola
Shashank Jakhmola - 06.04.2023 18:24

Hi how to apply job for outside india

Ответить
AverageDev
AverageDev - 26.03.2023 23:24

This is basically an entire university subject practice in one video. Awesome job

Ответить
lavanya MATTA
lavanya MATTA - 19.03.2023 23:00

Can you please explain following the AAA testing pattern (given, when then is similiar) but with the getAllStudents there is no given.Thanks in advance.

Ответить
José Loyola
José Loyola - 18.03.2023 06:54

</////////////////////////////////////////////////////3

Ответить
Aman Agrawal
Aman Agrawal - 15.03.2023 08:59

@amigoscode - Would like to know whether we should do bean manual validation in the service layer or in controller layer

Ответить
Miguel Lutz
Miguel Lutz - 12.03.2023 18:54

I'm not sure if I'm the only one struggling with some of your tutorials but a lot of times I can't setup the projects like you do. For the DemoApplcationTest right in the beginning of this tutorial I am getting an "Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.class]: Invocation of init method" error. I have only cloned your project and tried to run the test...

Ответить
Uvindu Harshan
Uvindu Harshan - 09.03.2023 13:44

Thanks😍😍 Superb Tutorial🥰🥰

Ответить
Patricio Aguirre
Patricio Aguirre - 07.03.2023 17:50

can you post a crash course on java networking programming ? : )

Ответить
Daniel Coelho
Daniel Coelho - 05.03.2023 04:13

do a video exploring more the IntegrationTests pls

Ответить
Marcel Rehmann
Marcel Rehmann - 04.03.2023 20:27

Hi Amigoscode, do you have also a tutorial about Kafka testing ?

Ответить
Franco Vedia
Franco Vedia - 01.03.2023 06:54

Thanks

Ответить
Berihun Hadis
Berihun Hadis - 23.02.2023 14:52

Thanks a lot you are always supportive

Ответить
Benkitou Tech Talk
Benkitou Tech Talk - 18.02.2023 15:19

Great course, it was really helpful, thank you very much

Ответить
kekiir
kekiir - 09.02.2023 03:01

Hi, I dont know why, but I cloned the branch you suggested. And the contextLoads test failed... :(((

Dose it still works for you?

ok, probably thats why:
Connection to localhost:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.

Still dont know how to fix

Ответить
Hamza alali
Hamza alali - 12.01.2023 09:32

simply amazing

Ответить
amir jafari
amir jafari - 06.01.2023 19:22

Can I know why you use @Autowired at the top of StudentRepository underTest, but you didn't use it at the top of StudentService underTest.i am confused about that.

Ответить
Indah Yusuf
Indah Yusuf - 06.01.2023 15:13

Hello Nelson
Thank you so much for your professionnalisme, infact I so much enjoyed going through this testing and mocking. I am thinking of going through it once more to grasp the essentials,frankly speaking you are excellent in the ways you make things look simpler
indah

Ответить
Peaka Chan
Peaka Chan - 18.12.2022 19:30

Hi, thank you for the tutorial.
Question: Can use @Autowired to inject the student service object instead of creating it in the setUp() method?
I wanted to try it, but I get a NullPointerException.
Can someone please tell me what I did wrong?

Ответить
Mo Okayreet
Mo Okayreet - 17.12.2022 05:00

can we use assertThatThrownBy() if method thro two exceptions?

Ответить
lawrence wamala
lawrence wamala - 11.12.2022 04:21

awesome

Ответить
The Soft
The Soft - 04.12.2022 20:43

YOU ARE A PERFECT PERSON, GOD ALWAYS HELP YOU :)

Ответить
Rabi Younes
Rabi Younes - 03.12.2022 22:17

Best unit & integration tests tutorial so far, thanks mate

Ответить