Skip to main content

Screencast : Unit Testing With PHPUnit



hello guys, here we are. we will learn about testing like unit test or test driven development, but in this case we will learn about unit test using phpunit. we know that phpunit is the framework test that very popular for web development instead of the other testing framework like laravel dust. or something else.

in this case, i want to share with you all about screencast that much benefit for you that courious about to learn testing. before that, is you know how the test work? is it we clicked all website or something? NO!!. test work using console and its work when we code our test to achieve something. like when we assert to login or register we code that assert must be achieve true or something else response to be "success" or "200".

what is benefit if we use unit test in our project? 
1. it much easier to test 
2. it decrease error before our project up to production
3. it make our project more maintainable.
4. it make us more profesional :D

what is disanvantages of using unit test?
1. more code to write
2. more hour to end up your project
3. more hard to code

so, i think if you choose to be more profesional developer, you should choose using unit test from now.  goodluck!

in this morning i got ten screencast free about unit test from youtube. i think it whorted for you. its teach us step by step and very easy to learn. here we go, look at the list video in the bellow.

















congrats guys.. hope you enjoy this tutorial and that screencast above. thankyou verymuch ^_^

Popular posts from this blog

Laravel Tips : Membuat Model, Migration dan Controller dengan Sekali Jalan

  php artisan adalah generator laravel yang berfungsi untuk membuat file kodingan dengan mudah, seperti membuat controller, model, seeder, migration dan masih banyak lagi. artisan hanya bisa di lakukan di dalam lingkungan console, seperti cmd dan terminal. berikut akan saya tunjukan cara membuat controller, model, migration menggunakan php artisan. # membuat controller ketikkan perintah di bawah ini php artisan make:controller BlogController # membuat model ketikkan perintah di bawah ini php artisan make:model Blog # membuat migration ketikkan perintah di bawah ini php artisan make:migration blog # membuat seeder ketikkan perintah di bawah ini php artisan make:seeder BlogSeeder # membuat migration, controller, dan model sekaligus ketikkan perintah di bawah ini php artisan make:model -crm Blog perintah di atas akan mengenerate controller dengan nama BlogController dengan keadaan Resource method tertulis, m...

Automatic API Documentation Swagger in Golang #GolangDev

pixabay.com In this article, I'll explain how to generate an API blueprint instantly using SwagGo in Golang. API blueprint is a document that contains a bunch of API endpoints, its slickly same as documentation but less description, it's allow another programmer to read and see all the available endpoint and try it out with sandbox feature. Swagger is one of the most used API blueprints right now, it's available in free but limited usage. if you wanna use the free credit, you need to understand YAML notation, you can read the example notation in swagger official documentation. but again, it's really hard and takes an expensive time to arranges all the notation to achieve a good API blueprint. fortunately, there are tools in Golang that allow us to generate the YAML notation and automatically generate the blueprint page with only using markup notation, and it's FREE unlimited for self-host, insane right? SwagGo tools are available here , the documentation is very cl...

Langkah-Langkah Membersihkan Virus Shortcut Versi 3.x

  Virus Shortcut adalah virus yang menampakkan dirinya dalam bentuk shortcut, dalam penyebarannya virus ini menggunakan media penyimpanan dan membuat shortcut di dalam penyimpanan tersebut lalu mengaktifkan dirinya dengan cara memanfaatkan kelemahan pengguna untuk meng klik shortcut tersebut. Tujuan dari virus ini sangat sederhana, hanya ingin menyebarkan dirinya ke komputer korban dan membuat komputer korban menjadi sarangnya, tanpa merusak isi atau file dari komputer korban, maka dari itu virus ini di golongkan menjadi virus junk (baca:virus sampah). virus shorcut yang terbaru di tandai dengan hilangnya semua file dan folder kita saat pertama kali membuka media penyimpanan seperti flashdisk dan memory card, tetapi ada satu file yaitu file shortcut yang memiliki nama sesuai nama media penyimpanan kita. apabila kita klik shortcut tersebut maka akan muncul window explorer baru dan file kita akan muncul semua. apabila anda menemui tanda-tanda seperti di atas, maka m...