Комментарии:
Excellent! Thanks for this extremely useful PHP series!
ОтветитьThank you
ОтветитьThank you so much for putting such amazing contents!! I'm new to unit test. so if there is a private dependency function inside public function charge(), how can we mock the private method? Thank you in advance!!!
ОтветитьLove your channel!!
ОтветитьBro, i have some problems. I notice that this video is not the continuation from lesson 3.1 as it contains new classes. I reverted to your repo which contains the course material and found that Services/InvoiceService class is not the same. Please advise.
ОтветитьNice video. I was reading the docs and came across createStub() method. Was wondering what's it's main difference and when should i use it instead of createMock?
ОтветитьAwesome, super clear, better than the PHPUnit docs! 😂 Thank you!
ОтветитьThank you Man, I believe your tutorial is the best PHP tutorial I have seen, but I should say It would not be better if you said that static methods cannot be tested ;)
Ответитьafter i test the code with phpunit i should delete the test files? please i want a answer
Ответитьexplained in detail and clearly! Thanks for it
ОтветитьOne of the clearest tutorials I've ever seen about dependency injection and mocking. Thank you guy for the time you dedicated to this series, and go on!
Ответитьso helpful, thank you Gio
ОтветитьThank you for this video, Gio! Could you please add timestamp marks like you did in part 1 to split up the video into units of meaning / categories? Thanks :) Another point to consider is to use native PHP 8 attributes instead of PHP Annotations
ОтветитьI'm coding for years and I watched a lot of tutorials but I must say this is something very different, very serious, and very experienced. Great job man! BTW: do you have any recommendations for some tutorials with examples for writing more complex tests with Mockery (besides the official documentation for which you've already put the link in the description)?
Ответитьthe change in voice was noticable XD
ОтветитьThanks for the explanation, it is now clear for me how to mock in PHPUnit!
ОтветитьThank you.
ОтветитьHi, may i ask how to test private or protected methods?
ОтветитьSir, I don't understand why sleep function didn't work when we call a method on mocked dependency
ОтветитьFantastic!!!
ОтветитьHow many frameworks and libraries do you know about
ОтветитьWas able to go through this lesson regardless. I'm pressing on. . I'm real glad to have this lesson. I may never have come across this by now if I was still trying to learn PHP the way I was learning before. Thanks alot Gio.
ОтветитьThanks for this intro. It will go a long way to helping me understand and write tests better.
ОтветитьGreat tutorial, in less than 20 minutes i understood things that at my university i couldn't understand in half a year. Thank You.
ОтветитьFacing problems when trying to call the same mock method with a different arguments
Ответитьvery clear, precise, this video is gold. Thank you very much. This helps me a ton while applying tests to our legacy products. I wish I can like this several thousand times.
ОтветитьYour content is pure gold!
ОтветитьWhen I try to use ->expects in a class created from ->createMock it says that it doesn't exists. What should I do?
ОтветитьThe best explanation of Mocking I have seen! Thank you for you videos!
Ответитьgreat video for PHP unit
ОтветитьAwesome
ОтветитьThis is what exactly I was looking for. :) I really appreciate it. Life saver!!!
ОтветитьGreat tutorial. Finally, I am able to understand Mocking. Thank you, Gio. Love your content.
Ответитьwant more in this testing series. great content 👍
ОтветитьHi there.
Will you make a project with php?
Thank you very much for this.
ОтветитьGreat video.....thanks so much
ОтветитьYour videos on testing have been a huge help, thanks.
ОтветитьAwesome!
ОтветитьHi sir, I have seen your vdos and manage my whole project from procedure php to oops. I have 4 years of experience in this backend web development, should I change this field
ОтветитьGreat job ! I wait for next videos ;D
ОтветитьHi Gio, I've a question. I want to learn Laravel after completing all of these series. What do you think should I learn more PHP after I complete this course or is this enough for learning Laravel?
Ответитьthanks bro
Ответить