Unit Testing with PHP Unit

แชร์
ฝัง

ความคิดเห็น • 30

  • @adedoyinadedipe373
    @adedoyinadedipe373 2 ปีที่แล้ว +6

    Just beautiful. You just made this topic very clear to me. Many thanks.

  • @wagnnerleivas2552
    @wagnnerleivas2552 3 ปีที่แล้ว +4

    Thanks, you helped me a lot!

  • @anandhakumarmuthusamy4108
    @anandhakumarmuthusamy4108 3 ปีที่แล้ว

    Great explanation. Thank you so much..!!!

  • @GarTheStar
    @GarTheStar 3 ปีที่แล้ว +2

    absolutely perfect

  • @dilshansila
    @dilshansila 2 ปีที่แล้ว

    Helpful Video, Thank you!

  • @user-nu8sk2io9t
    @user-nu8sk2io9t 3 ปีที่แล้ว +1

    massive thank you, had a problen with an "undefined class"(because of wrong namespace), and fixed it after updating composer:)

  • @dontstealthelemon
    @dontstealthelemon 2 ปีที่แล้ว +14

    straight to the point and exactly what i needed thank you!!

    • @srenspangsbergjrgensen2419
      @srenspangsbergjrgensen2419  2 ปีที่แล้ว

      Thank you!

    • @friktogurg9242
      @friktogurg9242 2 หลายเดือนก่อน

      @@srenspangsbergjrgensen2419 Sorry do you download docker for this? Are you able to query the database in xampp/htdocs in windows? I am trying to do this for a assignment but i keep getting errors?

  • @AnNguyen-nm5yz
    @AnNguyen-nm5yz 3 ปีที่แล้ว +1

    Very helpful thanks.

  • @lariakerman
    @lariakerman 5 หลายเดือนก่อน

    Great video! Thanks

  • @raziehzabihiasrami9264
    @raziehzabihiasrami9264 ปีที่แล้ว

    your video is very useful
    thanks alot

  • @yulyfadiahaya3635
    @yulyfadiahaya3635 3 ปีที่แล้ว +1

    thank you so much

  • @JapaneseChirashi
    @JapaneseChirashi 3 ปีที่แล้ว

    I tried everything to get mine working, and what solved it in the end was making sure the composer.json file has the same version as the console shows. They were different, I changed them, click, it worked.

  • @dietrichmccray795
    @dietrichmccray795 2 ปีที่แล้ว +1

    Thank you for making this video!! I'm currently trying to do this and whenever I "extends TestCase", it gives me this error "Undefined type 'PHPUnit\Framework\TestCase'.". Are you able to tell me what it is I'm doing wrong?

  • @emekatimothyiloba699
    @emekatimothyiloba699 ปีที่แล้ว

    Nice Explanation

  • @toanminh2781
    @toanminh2781 3 ปีที่แล้ว +1

    Thanks you

  • @burgerblog5526
    @burgerblog5526 8 หลายเดือนก่อน

    This is one of the best explanation of how unit tests work. Thank you very much!

  • @vijethkharvi347
    @vijethkharvi347 ปีที่แล้ว

    thank you!..

  • @xxapoloxx
    @xxapoloxx 10 หลายเดือนก่อน

    Is there a way to execute step by step for debugging?.

  • @jayasrinallani3585
    @jayasrinallani3585 7 หลายเดือนก่อน

    In my terminal bash: composer: command not found how can i do this

  • @ankushdeshmukh8756
    @ankushdeshmukh8756 2 ปีที่แล้ว

    Awsome video its very very helpfull.
    Can you make one more video for phpunit using codeigniter 4.
    I am having lots of issue in that.
    Thank you ;)

  • @srengodthardthansen3381
    @srengodthardthansen3381 2 ปีที่แล้ว

    Tak, der reddede du lige min røv (english translation => that was extremely helpful)

  • @teknolojigezgini203
    @teknolojigezgini203 3 ปีที่แล้ว +2

    what's real purpose of phpunit test? i can simply check 20+5 is it 25 by displaying it. do we need phpunit for that?

    • @jordanmack9540
      @jordanmack9540 3 ปีที่แล้ว +6

      when you have many classes & methods and are making changes to them it becomes very convenient to run one script to see if you broke anything before committing

    • @NeverCodeAlone
      @NeverCodeAlone 2 ปีที่แล้ว +1

      One point is that you can update and refactor your code for the future. With unit tests you can detect errors very fast and get feedback for your artual work. Also a important point is that you make your code structure much better when you write tests and get knowledge of it. This will raise your skills and make a much faster and better software.

  • @sergeysviridenko9603
    @sergeysviridenko9603 2 ปีที่แล้ว +1

    10:35 I think you should do: composer dumpautoload

  • @yanndeo9501
    @yanndeo9501 2 ปีที่แล้ว +1

    in real apps we have a models , controllers, services .. why always same example of calculator on youtube .Many courses on youtube has already this example!!