Software Testing Tutorial - Learn Unit Testing and Integration Testing

preview_player
Показать описание
Software testing tutorial is a must. Specifically Unit Testing and Integration testing using Java and JUnit5 testing framework

You will learn about Junit5, Integration Tests, Assertions and Mocking with Java Mockito

#softwaretesting #softwaretestingturorial #amigoscode

Download Diffblue to auto generate unit and integration tests

⭐ Table Of Contents ⭐
00:00 - Software Testing Overview
00:40 - Download Diffblue to auto-generate tests
01:44 - UML Diagram
05:16 - JUnit5 and AsserJ
10:06 - Maven Dependencies
12:54 - Lets Write a Test
21:14 - Testing Repositories
30:01 - H2 Database
35:21 - @DataJPATest
42:25 - Mockito
54:08 - Argument Captor
01:01:02 - Testing Add Student
01:12:12 - Integration Testing Overview
01:14:03 - Next Steps

🙊 Here are the goods for all my videos video:

► Recommended Books

Clean Code

HTTP: The Definitive Guide

Clean Architecture

► Computer and Monitor

New Apple MacBook Pro

Dell 27 INCH Ultrasharp U2719D Monitor

Double Arm Stand Desk Mount

USB C Hub Multiport Adapter

► Camera Gear

Sony ILCE7M3B Full Frame Mirrorless Camera

Sigma 16 mm F1.4 DC DN

Sigma 33B965 30 mm F1.4 DC DC

Awesome Screen Saver

IDE I use for coding
- Iterm
- VsCode
- GoLand
- IntelliJ
- Sublime

💯 You can also follow me here:

❤️ Thanks for watching
Рекомендации по теме
Комментарии
Автор

Impressive! I'm a Tester who is working with Developers to improve their Unit Testing and code quality. I've been tasked to put together some training materials and I'm going to include this. The video hits on so many things, but makes them very clear and concise in definition and explanation. You show both the power & advantages of the tool(s) you use and for Unit Testing itself. So glad I found this.

calkelpdiver
Автор

I wish I had found this earlier !! I spent quite a lot of time figuring out different tutorials for JUnit 5 and I ended up not writing JUnits for my Repository interfaces but going through this video has made me realize the simplest of ways to test Repositories by setting up H2 in memory database. Perfectly narrated and at a good pace. Keep up the good work !!

poojaandpawan
Автор

Everything is clear and pretty straightforward! Great job!

axwell
Автор

Thank you! The topic of testing is often neglected when teaching programming. It makes sense to learn this very early and get into the habit of writing tests for your code. As you said, there is no way around this in professional software development.

bastisprogrammingcorner
Автор

This was the second video course I wacthed from this channel.
Thank you so much for the video quality and the explanations.
Really good!

fsantosinfo
Автор

Love it. You're a great teacher. I'm a Java boot camp student and I really appreciate seeing how a professional dev does it vs how I'm taught. Learning so many great tricks thanks to you!

hinerron
Автор

OMG i am so glad I found you. You have such an amazing way of explaining things. You are truly a natural at this. Your voice and teaching style is so soothing, I feel like it's my close friend explaining this complicated stuff to me. You are amazing, God bless! I can't thank you enough!

jarveyd
Автор

4:20 In the UML Diagram the integration part should be StudentController.

licken
Автор

I was just looking for this topic and this appears on my recomendations, how convinient

centurion
Автор

Thanks for a good tutorial, this was exactly what I needed. Keep it up! :)

uppsaladde
Автор

When testing the if student email exists, you could use a getter for the email defined in the student model class. Great video!

mr.personman
Автор

Yes please need a kafka tutorial as well, because now a days kafka is in demand. thanks in advance and for every tutorial, they are really helpful.

ChetanJain
Автор

Excellent tutorial!

Your technical and educational skills 👨‍🎓 match your kindness and goodness.

Keep it up! 💪

Saludos desde Uruguay mi amigo 💙🤍

federicoladereche
Автор

Again right to the point, easily understandable and great content as always 👏🏽

qwertyguy
Автор

Thank you, I'm new in Java ecosystem so your courses are very valuable.
جزاك الله خيرا

rahff
Автор

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

indahyusuf
Автор

You have excellent teaching skills, thanks for your effort.

tugbanur
Автор

I am a college student studying in Korea. All of your lectures are very, very good.

dcbtdtg
Автор

These video finally made me understand what the hell what all this testing thing all about, loved it

centurion
Автор

FYI the contextLoads test is not pointless at all, it verifies that the application is bootstrapped correctly and there is no exception raised by the application context. If you have missing configuration properties or some (auto)wiring issues that test would have caught it.

marco.garofalo