Комментарии:
It does not include any code about integration testing then you should not write learn integration testing.
ОтветитьMan, you are beutiful
Ответить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.
ОтветитьYou rock! really helpful!
Ответитьsup! what you use for drawing UML diagrams?
Ответить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.
ОтветитьSalam Alikum, what to say, amazing are your courses, barak Obama fik; sorry Barak Allah fik :).
Ответить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.
ОтветитьGreat video! I have learned a lot. Thank you.
Ответить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.
ОтветитьI love you my friend
Ответить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 ??
ОтветитьHi! I have one question. Why sometimes you autowire the object and other times you initialize it at the BeforeEach? Thanks!!
ОтветитьGreat course
Ответить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.
Ответитьhörrïbłë mönkëÿ 🦍
ОтветитьWhat happened to Mockito.verify, I can't import it. MAAACKIIIITOOOOUU!!!!!!!!
Ответитьwhy pom xml cloned from the repo is different than the one in the video?
ОтветитьAwesome! You've covered everything that I was looking for! Keep this up!
ОтветитьHey, in which program do you make your UML diagrams?
ОтветитьHow would i test findByEmail() method of StudentService which calls findByEmail() method of StudentRepository with mock?🤔
Ответить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
Ответить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
ОтветитьHi how to apply job for outside india
ОтветитьThis is basically an entire university subject practice in one video. Awesome job
Ответить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.
Ответить</////////////////////////////////////////////////////3
Ответить@amigoscode - Would like to know whether we should do bean manual validation in the service layer or in controller layer
Ответить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...
ОтветитьThanks😍😍 Superb Tutorial🥰🥰
Ответитьcan you post a crash course on java networking programming ? : )
Ответитьdo a video exploring more the IntegrationTests pls
ОтветитьHi Amigoscode, do you have also a tutorial about Kafka testing ?
ОтветитьThanks
ОтветитьThanks a lot you are always supportive
ОтветитьGreat course, it was really helpful, thank you very much
Ответить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
simply amazing
Ответить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.
Ответить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
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?
can we use assertThatThrownBy() if method thro two exceptions?
Ответитьawesome
ОтветитьYOU ARE A PERFECT PERSON, GOD ALWAYS HELP YOU :)
ОтветитьBest unit & integration tests tutorial so far, thanks mate
Ответить